-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (38 loc) · 1.2 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
<!-- Written by Steve Perjesi, Sept 2016 -->
<!-- [email protected] -->
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>sNake by Steve Perjesi</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="assets/css/main.css">
<script type="text/javascript" data-main="app" src="js/lib/require.js"></script>
</head>
<body>
<div id="main" align="center">
<div style="float: left">
<canvas id="board" class="board left-space"></canvas>
</div>
<div id="score-container">
SCORE
<h2 id="score">0</h2>
<h3 id="pause-status">[ P A U S E D ]</h3>
<div id="gameover-status">
<h3>GAME OVER</h3>
<small>click game board to play again</small>
</div>
<div id="high-score-container">Top 5 High Scores</div>
</div>
</div>
<div style="clear: both" class="left-space">
Select Level <select id="level" onChange="game.levelSelect(this.value)">
<option value="1" selected>Easy</option>
<option value="2">Medium</option>
<option value="3">Hard</option>
</select>
<b class="left-space">Click Board to Start Game</b>
<b class="left-space">Arrow Keys to Navigate Snake</b>
<b class="left-space">Spacebar to pause</b>
</div>
</body>
</html>