forked from sandhikagalih/pukul-tikus-tanah
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
129 lines (119 loc) · 3.62 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!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>Whack A Mole</title>
<link rel="stylesheet" href="css/style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
/>
</head>
<body>
<div class="popup d-none" id="popup">
<div class="popup-container text-center">
<h2>Difficulty</h2>
<div class="difficulties">
<div
class="difficulty"
role="button"
tabindex="1"
data-difficulty="easy"
>
Easy
</div>
<div
class="difficulty"
role="button"
tabindex="2"
data-difficulty="medium"
>
Medium
</div>
<div
class="difficulty"
role="button"
tabindex="3"
data-difficulty="hard"
>
Hard
</div>
</div>
</div>
</div>
<div id="game-info">
<div id="information">
<ul>
<li>High Score : <span id="high-score"></span></li>
<li>Score : <span id="score"></span></li>
</ul>
</div>
<div id="button">
<button type="button" class="btn-primary" id="start">
<i class="fas fa-fw fa-play"></i>
</button>
<button type="button" class="btn-primary" id="settings">
<i class="fas fa-fw fa-gear"></i>
</button>
</div>
</div>
<div class="countdown d-none" id="countdown">
<div class="countdown-container"></div>
</div>
<main>
<h1 class="title text-center">Whack A Mole</h1>
<div class="container">
<div class="dirt">
<div class="mole first-mole"></div>
<div class="mole second-mole"></div>
</div>
<div class="dirt">
<div class="mole first-mole"></div>
<div class="mole second-mole"></div>
</div>
<div class="dirt">
<div class="mole first-mole"></div>
<div class="mole second-mole"></div>
</div>
<div class="dirt">
<div class="mole first-mole"></div>
<div class="mole second-mole"></div>
</div>
<div class="dirt">
<div class="mole first-mole"></div>
<div class="mole second-mole"></div>
</div>
<div class="dirt">
<div class="mole first-mole"></div>
<div class="mole second-mole"></div>
</div>
<div class="mole-hidden" id="extra-mole"></div>
</div>
</main>
<div class="options d-none" id="options">
<div class="options-container">
<h2>Options</h2>
<div class="input-group">
<label for="bgm-volume">BGM Volume</label>
<input type="range" id="bgm-volume" min="0" max="100" value="100" />
</div>
<div class="input-group">
<label for="sfx-volume">SFX Volume</label>
<input type="range" id="sfx-volume" min="0" max="100" value="100" />
</div>
<div class="input-group">
<label for="difficulty">Difficulty</label>
<select id="difficulty">
<option value="easy">Easy</option>
<option value="medium">Medium</option>
<option value="hard">Hard</option>
</select>
</div>
<button id="save-button" type="button" tabindex="1">Save</button>
</div>
</div>
<script src="js/script.js"></script>
</body>
</html>