-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (35 loc) · 1.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sequence Safari</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="body">
<div id="scoreBox">Score: 0</div>
<div id="highScore">HiScore: 0</div>
<div id="timer">Time Left: 30</div>
<button class="pause" id="pause">Pause</button>
<div id="gridSelection">
<div>Size: </div>
<input type="number" id="gridSize" min="15" max="30" step="1" value="20">
</div>
<div id="board"></div>
<div id="sequence">
<div id="seqText">Sequence: </div>
</div>
<div id="popUp">
<div>Hello Gamer!</div>
<div>Use Arrow keys/Swipe to move the snake</div>
<div>Eat food in correct order to gain points. Completing one sequence gives extra 15 seconds</div>
<div>You have 3 lives</div>
<div>You can adjust grid size only during beginning of game</div>
<div><img src="./assets/shrink.png" width="20" height="20" class="powerUp"> - Decreases length of snake</div>
<div><img src="./assets/slow.png" width="20" height="20" class="powerUp"> - Slows down snake</div>
</div>
</body>
<script src="js/index.js"></script>
</html>