forked from patorjk/JavaScript-Snake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.htm
31 lines (28 loc) · 1.03 KB
/
index.htm
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>
<!--
JavaScript Snake
By Patrick Gillespie
http://patorjk.com/games/snake
Terms of Re-Use:
- If you're interested in using this app (which includes this file, patorjk.com/games/snake/snake.js and
patorjk.com/games/snake/style.css) on your website, I give you permission as long as you link back to
patorjk.com somewhere noticable in your application or on the website the app is hosted on.
- As long as that condition is met, this app is free for you to build on and play around with.
-->
<title>JavaScript Snake</title>
<link rel="stylesheet" type="text/css" href="./css/snake.css" />
</head>
<body>
<div id="game-area" tabindex="0">
</div>
<script type="text/javascript" src="./js/snake.js"></script>
<script type="text/javascript">
var mySnakeBoard = new SNAKE.Board( {
boardContainer: "game-area",
fullScreen: true
});
</script>
</body>
</html>