-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (48 loc) · 2.58 KB
/
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title>Znake</title>
<link rel="stylesheet" href="stylesheets/index.css" type="text/css" />
<script type="text/javascript" src="./compiled/Core/Utils.js"></script>
<script type="text/javascript" src="./compiled/Core/Vector.js"></script>
<script type="text/javascript" src="./compiled/Maps/default.js"></script>
<script type="text/javascript" src="./compiled/Maps/map1.js"></script>
<script type="text/javascript" src="./compiled/Maps/map2.js"></script>
<script type="text/javascript" src="./compiled/Core/Type.js"></script>
<script type="text/javascript" src="./compiled/Core/Layer.js"></script>
<script type="text/javascript" src="./compiled/Core/Grain.js"></script>
<script type="text/javascript" src="./compiled/Core/Number.js"></script>
<script type="text/javascript" src="./compiled/Prelude/Stage.js"></script>
<script type="text/javascript" src="./compiled/Prelude/Track.js"></script>
<script type="text/javascript" src="./compiled/Prelude/Actions.js"></script>
<script type="text/javascript" src="./compiled/Prelude/Prelude.js"></script>
<script type="text/javascript" src="./compiled/Map.js"></script>
<script type="text/javascript" src="./compiled/Snake.js"></script>
<script type="text/javascript" src="./compiled/NumberBoard.js"></script>
<script type="text/javascript" src="./compiled/Game.js"></script>
<script type="text/javascript" src="./compiled/main.js"></script>
<script src="./lib/Detector.js" type="text/javascript"></script>
<script type="text/javascript">
if (!Detector.chrome) {
window.location = './notsupported.html';
}
</script>
</head>
<body>
<div id="introduction">
<h1>Znake</h1>
<span class="subtitle">Another snake game</span>
<p class="important">Please use chrome to get the best experience.</p>
<p>
<strong>Press any key to start the game. Arrow keys to control the snake, whitespace to pause. F5 to restart the game.</strong>
</p>
<p>Though there are many snake games already, I think I may regret if I don't implement this classic game on my own for even once. I tried to make it a little different so I added the wavy effect. Hope you enjoy it!</p>
<p>
<strong>Author: Zero</strong>
</p>
</div>
<div id="GameLayer"></div>
<a href="https://github.com/you"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></img></a>
</body>
</html>