-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (49 loc) · 1.74 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
<!DOCTYPE html>
<html>
<head>
<title>Snake</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge;" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
<script type="text/javascript" src="app.js"></script>
<link rel="stylesheet" href="normalize.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="splash-screen" class="hidden">
<div class="overlay"></div>
<div class="wrapper">
<div class="game-over-panel" style="display: none;">
<div class="game-over-title">Game Over</div>
<div class="game-over-score-row">Your score: <span class="score"></span></div>
</div>
<div class="options">
<div class="options-title">Options</div>
<div class="options-grid">
<label for="board-size">Board size</label>
<select id="board-size"></select>
<label for="game-speed">Game speed <i>(in ms)</i></label>
<input id="game-speed" type="number" value="150" placeholder="Time in ms" />
<label for="game-version">Game version</label>
<select id="game-version">
<option selected>1</option>
<option>2</option>
</select>
</div>
</div>
<div class="footer">
<button>Play Snake</button>
</div>
</div>
</div>
<div class="game">
<div class="padding-before"></div>
<div class="score-row">
<label>Score</label>
<span class="score">0</span>
</div>
<div id="grid"></div>
<div class="padding-after"></div>
</div>
</body>
</html>