-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (85 loc) · 3.36 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!doctype html>
<html>
<head>
<meta charset='utf-8'>
<title></title>
<link href='./css/main.css' rel='stylesheet'>
<script src='./js/3rd/underscore-min.js'></script>
<script src='./js/3rd/gj-js-api-min.js'></script>
<script src='./js/3rd/phaser.js'></script>
<script src='./js/3rd/screenshake.js'></script>
<script src='./js/grid.js'></script>
<script src='./js/input.js'></script>
<script src='./js/main.js'></script>
<script src='./js/snake.js'></script>
<script src='./js/tetris.js'></script>
<script src='./js/fruit.js'></script>
<script src='./js/gui.js'></script>
<script src='./js/inputfield.js'></script>
<script src='./js/snake_spawner.js'></script>
<script src='./js/states/gameover.js'></script>
<script src='./js/states/menu.js'></script>
<script src='./js/states/preload.js'></script>
<script src='./js/states/records.js'></script>
<script src='./js/states/game.js'></script>
<script src='./js/states/ready.js'></script>
<script src='./js/states/settings.js'></script>
<script src='./js/states/ctrls.js'></script>
</head>
<body onload='init()'>
<div id='wrapper'>
<p>Wabulabudupdup!</p>
<div id='game' class='over'></div>
<div id='menu' class='over centered hidden'>
<p id='menu-top'>The more blocks you have, the harder it is to play...</p>
<header>Snake<span>triS</span></header>
<p>A co-op game for 2 players!</p>
<p id='press'>Press ENTER to start</p>
<!--<p id='made-by'>Created by <a href='https://ldjam.com/users/yngvarr/'>Yngvarr</a>, <a href='https://ldjam.com/users/komnotmr/'>komnotmr</a> and <a href='https://ldjam.com/users/dolorosso/'>Dolorosso</a></p>-->
</div>
<div id='tutor1' class='tutor over hidden centered'>
<table>
<tr class='rule'>
<td><img class='rule1' width="150" height="35" ></td>
<td><p class='tab'>Snake (Player 1) eats fruit to grow</p></td>
</tr>
<tr class="rule">
<td><img class='rule5' width="170" height="90"></td>
<td><p class='tab'>When a fruit reaches the floor, it roots and becomes unremovable (but still counts when a line scores)</p></td>
</tr>
<tr class='rule'>
<td><img class='rule2' width="150" height="75"></td>
<td><p class='tab'>Don't hit things with your head, Snake,
unless you want to fall apart into pieces</p></td>
</tr>
</table>
<p>Press ENTER to continue</p>
</div>
<div id='tutor2' class='tutor over hidden centered'>
<table>
<tr class='rule'>
<td><img class='rule3' width="80" height="145"></td>
<td><p class='tab'>Hitting Snake with Tetrimino (Player 2)
cuts it's tail </p></td>
</tr>
<tr class='rule'>
<td><img class='rule4' width="100" height="90"></td>
<td><p class='tab'>Player 1, use cursor keys to control Snake</p>
<p>Player 2, you control Tetrimino with WASD.</p></td>
</tr>
</table>
<p>Your aim is to score as many points as you can. Have fun!</p>
<p>Press ENTER to start</p>
</div>
<div id='pause' class='over hidden'></div>
<div id='gameover' class='over centered hidden'>
<header>Game <span>Over</span></header>
<p id='score'>Your scored <span>...</span>!</p>
<p>Thank you for playing!</p>
<p>Don't forget to share your score and leave some feedback!</p>
</div>
</div>
<div id='hud' class='over hidden'><p style="float:left;">Score: </p><p id='hudscore'></p></div>
</div>
</body>
</html>