-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (40 loc) · 1.32 KB
/
Copy pathindex.html
File metadata and controls
43 lines (40 loc) · 1.32 KB
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
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Snake ES6</title>
</head>
<body>
<div id="screen">
<div id="snake">
</div>
</div>
<div class="pointer">
Point: <span id="point"></span>
</div>
<div id="dialog">
<div class="lose">
<h2>You lose!</h2>
<p>Press spacebar for start a new game.</p>
</div>
<div class="configuration">
<p>Difficulty</p>
<div class="btn-group">
<button name="difficulty" class="selected" value="0.3">Easy</button>
<button name="difficulty" value="0.12">Normal</button>
<button name="difficulty" value="0.05">Hard</button>
<button name="difficulty" value="0.01">IMPOSSIBBBBILE</button>
</div>
<p>Game size</p>
<div class="btn-group">
<button name="size" value="200">Small</button>
<button name="size" class="selected" value="400">Medium</button>
<button name="size" value="600">Large</button>
</div>
</div>
</div>
<script type="text/javascript" src="main.js"></script>
</body>
</html>