-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (52 loc) · 1.63 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="./src/style/style.css" />
<title>Stick Hero All-Out</title>
</head>
<body>
<!-- main menu -->
<section class="play-section">
<div class="menu">
<button class="play-btn">Play</button>
<div>
<h1>Stick Hero All-Out</h1>
<h2>Highest Score</h2>
<h3 id="highest-score" class="highest-score"></h3>
</div>
</div>
</section>
<!-- canvas -->
<section class="game-section">
<canvas id="canvas" class="canvas"></canvas>
</section>
<!-- restart menu -->
<section class="re-play-section">
<div class="replay-menu">
<button class="re-play-btn">Play Again</button>
<div>
<h2>Your Score</h2>
<h3 id="your-score"></h3>
<h2 class="highest-score">Highest Score</h2>
<h3 id="highest-score-replay"></h3>
</div>
</div>
</section>
<!-- script -->
<script src="./src/startup.js"></script>
<script src="./src/audio.js"></script>
<script src="./src/utils.js"></script>
<script src="./src/class/Capsule.js"></script>
<script src="./src/class/Controller.js"></script>
<script src="./src/class/Stick.js"></script>
<script src="./src/class/Platform.js"></script>
<script src="./src/class/Hero.js"></script>
<script src="./src/constants.js"></script>
<script src="./src/class/Game.js"></script>
<script src="./src/main.js"></script>
</body>
</html>