-
Notifications
You must be signed in to change notification settings - Fork 164
/
index.html
48 lines (43 loc) · 1.19 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
<!DOCTYPE html>
<html>
<head>
<title>BOX SLICE</title>
<link rel="stylesheet" type="text/css" href="./style.css">
</head>
<body>
<!-- Game canvas -->
<canvas id="c"></canvas>
<div class="hud">
<div class="hud__score">
<div class="score-lbl"></div>
<div class="box-count-lbl"></div>
</div>
<div class="pause-btn"><div></div></div>
<div class="slowmo">
<div class="slowmo__bar"></div>
</div>
</div>
<!-- Menu System -->
<div class="menus">
<div class="menu menu--main">
<h1>BOX SLICE</h1>
<button type="button" class="play-normal-btn">PLAY GAME</button>
<button type="button" class="play-practice-btn">PRACTICE MODE</button>
</div>
<div class="menu menu--pause">
<h1>Paused</h1>
<button type="button" class="resume-btn">RESUME GAME</button>
<button type="button" class="menu-btn--pause">MAIN MENU</button>
</div>
<div class="menu menu--score">
<h1>Game Over</h1>
<h2>Your Score:</h2>
<div class="final-score-lbl"></div>
<div class="high-score-lbl"></div>
<button type="button" class="play-again-btn">PLAY AGAIN</button>
<button type="button" class="menu-btn--score">MAIN MENU</button>
</div>
</div>
<script type="text/javascript" src="./script.js"></script>
</body>
</html>