HTML5 Games-Sheep Run

Source: Internet
Author: User


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" >&nbsp;<!--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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.