-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (30 loc) · 948 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=1.0, user-scalable=0" />
<link href="./index.css" rel="stylesheet" />
<title>Whack A Mole</title>
</head>
<body>
<h1>Whack A Mole</h1>
<div class="buttons-wrapper">
<button class="start-button" onclick="startGame()">Start</button><button onclick="pauseGame()">Pause</button> <button
onclick="continueGame()">Play</button>
</div>
<div class="score hidden"></div>
<div class="best-score hidden"></div>
<div class="game-wrapper">
</div>
<template id="game-tile">
<div class="tile">
<div class="mole">
<img class="hidden" src="/whack-a-mole/public/assets/monty-mole.png" />
</div>
<div class="plant">
<img class="hidden" src="/whack-a-mole/public/assets/piranha-plant.png" />
</div>
</div>
</template>
<script src="./index.js"></script>
</body>
</html>