-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (45 loc) · 1.74 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>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Bonk Game</title>
<meta name="description" content="Send the dogs to the horny jail">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./assets/styles/style.css">
<link rel="icon" type="image/vnd.microsoft.icon" href="./assets/images/favicon.ico">
</head>
<body>
<div class="centered text-center menu" id="start">
<div class="dog header">
</div>
<div>
<h1>Bonk Game</h1>
<p>Send the dogs to the horny jail</p>
</div>
<div>
<h2>How to play</h2>
<p>Hit all the dogs you can. If the number of dogs exceeds 20, you will loose.</p>
</div>
<div>
<h2>Options</h2>
<input type="checkbox" onclick="muted = !muted" id="soundCheck" checked>
<label for="soundCheck">Sound</label>
</div>
<button onclick="startGame()"> Start </button>
</div>
<div class="centered text-center menu hidden" id="end">
<div>
<h1>Game Over</h1>
<p>Score: <span id="score"></span></p>
</div>
<button onclick="startGame()"> Replay </button>
</div>
<div class="hidden text-center" id="game-status">
<h2 id="actual-count"></h2>
<p>Spawn Time:<span id="spawn-time"></span></p>
</div>
<script src="./assets/js/jquery-3.6.0.min.js"></script>
<script src="./assets/js/script.js"></script>
</body>
</html>