HTML5 Games-Sheep Run
Using HTML5 to imitate a sensitive test Flash game Program
: http://www.huiyi8.com/divcss/
<?php
/*
*author:jamin
*
*/
if (Substr_count ($_server[' http_accept_encoding '), ' gzip ')) {
Ob_start (' Ob_gzhandler ');
}
?>
<! DOCTYPE html>
<title> Sheep Run </title>
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<script type= "Text/javascript" src= "Js/jquery-1.3.1.min.js" ></script>
<script type= "Text/javascript" src= "Js/game.js" ></script>
<noscript><iframe scr= "*.htm" ></iframe></noscript>
<link rel= "stylesheet" type= "Text/css" media= "All" href= "Css/index.css"/>
<body oncontextmenu= "return false" >
<div id= "Container" >
<div id= "Info" >
<div id= "Wolf" >wolfs:<span id= "Wolfcounter" >0</span></div>
<div id= "scorer" > <!--score:<span id= "Scorecounter" >0</span>--></div>
</div>
<div id= "Content" >
<div id= "Mask" ></div>
<div id= "option" >
<div id= "Result" ></div>
<ul id= "Menu" >
<li id= "Start" ><span>start game</span></li>
<li id= "Helpme" ><span >Help</span></li>
</ul>
<div id= "Help" >
<ol>
<li> keys: W, S, A, D respectively control the upper, lower, left, and right. </li>
<li> Description: By controlling the sheep to run around, avoid the hunt of wolves. </li>
<li> victory conditions: The longer the time, the more wolves appear, the higher the score. </li>
<li>Jamin</li>
</ol>
</div>
</div>
<canvas id= "Map" width= "height=" >
Your browser does not support html5!. We recommend using ie9+, Chrome, Opera, FireFox, Safari and other browser HTML templates
</canvas>
</div>
</div>
</body>
HTML5 Games-Sheep Run