forked from GeneralZero/HTML5-Snake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame.html
31 lines (30 loc) · 933 Bytes
/
game.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
28
29
30
31
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<title>Its a Snake</title>
<style type="text/css">
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
div.dialog {
width: 25em;
padding: 0 4em;
margin: 4em auto 0 auto;
/*border: 1px solid #ccc;
border-right-color: #999;
border-bottom-color: #999;*/
}
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript" src='javascripts/game.js'></script>
</head>
<body>
<!-- This file lives in public/404.html -->
<div class="dialog">
<canvas height='400' width= '400' id='canvas'>
<p>Your browser does not support HTML5!</p>
</canvas>
</div>
</body>
</html>