-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
124 lines (118 loc) · 4.72 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
<!doctype html>
<html>
<head>
<title>Whack a Mole Game</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" type="text/css" href="mole.css">
</head>
<body>
<section class="game-container">
<section class="toolbar">
<nav>
<a href id="newgame">New</a>
<span>|</span>
<a href id="pausegame" class="disabled">Pause</a>
<span>|</span>
<a href id="endgame" class="disabled">End</a>
<span>|</span>
<a href id="resetgame" class="disabled">Reset</a>
</nav>
<section class="score">
<div class="score-item">
<h4>time:</h4>
<h2 id="timer">00.00</h2>
</div>
<div class="score-item">
<h4>Hits:</h4>
<h2 id="counter">0</h2>
</div>
</section>
</section>
<section class="play-area">
<div class="row">
<div class="item">
<div class="up">
<img src="assets/mole.png" alt="Mole 1" class="mole-img hide">
</div>
<div class="down">
<img src="assets/hole_empty_down.jpg" alt="bottom side of an empty hole 1">
</div>
</div>
<div class="item">
<div class="up">
<img src="assets/mole.png" alt="Mole 2" class="mole-img hide">
</div>
<div class="down">
<img src="assets/hole_empty_down.jpg" alt="bottom side of an empty hole 2">
</div>
</div>
<div class="item">
<div class="up">
<img src="assets/mole.png" alt="Mole 3" class="mole-img hide">
</div>
<div class="down">
<img src="assets/hole_empty_down.jpg" alt="bottom side of an empty hole 3">
</div>
</div>
</div>
<div class="row">
<div class="item">
<div class="up">
<img src="assets/mole.png" alt="Mole 4" class="mole-img hide">
</div>
<div class="down">
<img src="assets/hole_empty_down.jpg" alt="bottom side of an empty hole 4">
</div>
</div>
<div class="item">
<div class="up">
<img src="assets/mole.png" alt="Mole 5" class="mole-img hide">
</div>
<div class="down">
<img src="assets/hole_empty_down.jpg" alt="bottom side of an empty hole 5">
</div>
</div>
<div class="item">
<div class="up">
<img src="assets/mole.png" alt="Mole 6" class="mole-img hide">
</div>
<div class="down">
<img src="assets/hole_empty_down.jpg" alt="bottom side of an empty hole 6">
</div>
</div>
</div>
<div class="row">
<div class="item">
<div class="up">
<img src="assets/mole.png" alt="Mole 7" class="mole-img hide">
</div>
<div class="down">
<img src="assets/hole_empty_down.jpg" alt="bottom side of an empty hole 7">
</div>
</div>
<div class="item">
<div class="up">
<img src="assets/mole.png" alt="Mole 8" class="mole-img hide">
</div>
<div class="down">
<img src="assets/hole_empty_down.jpg" alt="bottom side of an empty hole 8">
</div>
</div>
<div class="item">
<div class="up">
<img src="assets/mole.png" alt="Mole 9" class="mole-img hide">
</div>
<div class="down">
<img src="assets/hole_empty_down.jpg" alt="bottom side of an empty hole 9">
</div>
</div>
</div>
</section>
</section>
<div class="overlay hide" id="continuegame">
<h1 class="pauseBlink">Game Paused!</h1>
</div>
<script src="mole.js"></script>
</body>
</html>