-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
25 lines (22 loc) · 789 Bytes
/
index.html
File metadata and controls
25 lines (22 loc) · 789 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>SNAKE</title>
<link rel="stylesheet" type="text/css" href="game.css">
</head>
<body>
<div id ="main" class="score">Score : <span id="scoreId">0</span> |
<input type="radio" onclick="setSpeed(this)" name="speed" value="80"> <i>Fast</i>
<input type="radio" onclick="setSpeed(this)" name="speed" value="200"> <i>Medium</i>
<input type="radio" onclick="setSpeed(this)" name="speed" value="1000"> <i>Slow</i>
<a href="/game/"><i><b>Restart</b></a></i>
</div>
<div class="content">
<div class="grid">
<div id="move"><p class="startText"><i>Press any <b>arrow</b> key to start the action...</i></p></div>
<div id="foodId" class="food"></div>
</div>
</div>
</body>
<script type="text/javascript" src="game.js"></script>
</html>