forked from patorjk/JavaScript-Snake
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·38 lines (33 loc) · 1.05 KB
/
index.html
File metadata and controls
executable file
·38 lines (33 loc) · 1.05 KB
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
32
33
34
35
36
37
38
<!DOCTYPE html>
<!--<html manifest="snake.appcache">-->
<head>
<!--
JavaScript Snake
By Patrick Gillespie
http://patorjk.com/games/snake
Source code is available here: https://github.com/patorjk/JavaScript-Snake
-->
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<meta charset="utf-8">
<title>Snake</title>
<link rel=stylesheet id=style type=text/css href=./css/main-snake.css />
<!-- Hammerjs fuer Swipe-Support auf mobilen Endgeräten -->
<script src="./js/hammer_2.0.8.js"></script>
</head>
<body>
<div id="whole_screen">
<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: false,
width: 355,
height: 507
});
</script>
<!-- <div id ="textlog">Test:<br></div> -->
</div>
</body>
</html>