-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (66 loc) · 3.29 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
<!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>Whac-a-Mole</title>
<link rel="stylesheet" href="./res/css/style.css">
</head>
<body>
<main id="game">
<div id="hammer"></div>
<div id="scoreInfo">
<b>Score: </b>
<b id="scoreNumber">0</b>
</div>
<div id="timerInfo">
<b>Time: </b>
<b id="timerNumber">30</b>
</div>
<div id="maxScoreInfo">
<b>Max score: </b>
<b id="maxScoreNumber">0</b>
</div>
<div id="molesInfo">
<h2>Points for mole</h2>
<div>
<img src="./res/img/mole0.png" alt="" draggable="false" class="moleInfoImg">
<b class="moleInfoPoints">???</b>
</div>
<div>
<img src="./res/img/mole1.png" alt="" draggable="false" class="moleInfoImg">
<b class="moleInfoPoints">???</b>
</div>
<div>
<img src="./res/img/mole2.png" alt="" draggable="false" class="moleInfoImg">
<b class="moleInfoPoints">???</b>
</div>
<div>
<img src="./res/img/mole3.png" alt="" draggable="false" class="moleInfoImg">
<b class="moleInfoPoints">???</b>
</div>
<div>
<img src="./res/img/mole4.png" alt="" draggable="false" class="moleInfoImg">
<b class="moleInfoPoints">???</b>
</div>
</div>
<button id="startGame">Start</button>
<div id="board">
<div class="hole"><div class="mole"></div><img src="./res/img/hole.png" alt="" draggable="false" class="holeImg"></div>
<div class="hole"><div class="mole"></div><img src="./res/img/hole.png" alt="" draggable="false" class="holeImg"></div>
<div class="hole"><div class="mole"></div><img src="./res/img/hole.png" alt="" draggable="false" class="holeImg"></div>
<div class="hole"><div class="mole"></div><img src="./res/img/hole.png" alt="" draggable="false" class="holeImg"></div>
<div class="hole"><div class="mole"></div><img src="./res/img/hole.png" alt="" draggable="false" class="holeImg"></div>
<div class="hole"><div class="mole"></div><img src="./res/img/hole.png" alt="" draggable="false" class="holeImg"></div>
<div class="hole"><div class="mole"></div><img src="./res/img/hole.png" alt="" draggable="false" class="holeImg"></div>
<div class="hole"><div class="mole"></div><img src="./res/img/hole.png" alt="" draggable="false" class="holeImg"></div>
<div class="hole"><div class="mole"></div><img src="./res/img/hole.png" alt="" draggable="false" class="holeImg"></div>
<div class="hole"><div class="mole"></div><img src="./res/img/hole.png" alt="" draggable="false" class="holeImg"></div>
<div class="hole"><div class="mole"></div><img src="./res/img/hole.png" alt="" draggable="false" class="holeImg"></div>
<div class="hole"><div class="mole"></div><img src="./res/img/hole.png" alt="" draggable="false" class="holeImg"></div>
</div>
</main>
<script src="./res/js/main.js"></script>
</body>
</html>