forked from JDStraughan/html5-snake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (22 loc) · 866 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>HTML5 snake - Canvas Snake Game</title>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link rel="stylesheet" href="page.css" type="text/css">
</head>
<body>
<h1>html5-snake</h1>
<p><a href="http://en.wikipedia.org/wiki/HTML5">HTML5</a> variation of the classic <a href="http://en.wikipedia.org/wiki/Snake_(video_game)">snake game</a>.</p>
<p>Control snake with arrow keys, WASD, or HJKL (vim keys).</p>
<p>Collect the food to grow and increase speed.</p>
<div>
<canvas id="the-game" width="320" height="240">
</div>
<p>© 2013 <a href="http://JDStraughan.com">Jason D. Straughan</a> - <a href="https://github.com/JDStraughan/html5-snake">Source on GitHub</a></p>
<script type="text/javascript" src="game.js"></script>
</body>
</html>