-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathgame.html
39 lines (38 loc) · 996 Bytes
/
game.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Balloons Game</title>
<link rel="stylesheet" type="text/css" href="reset.css">
<link rel="stylesheet" href="game.css">
</head>
<body>
<div class="game">
<div class="data">
<div id="div-collect-counter">
<span id="bag-of-money"></span>
<div id="collect-counter"></div>
</div>
<div id="counter"></div>
<div id="div-balloon-counter">
<span id="balloon-icon"></span>
<div id="balloon-counter"></div>
</div>
</div>
<canvas id="canvas" width="500" height="450"></canvas>
<div class="controls">
<button id="pump">Pump</button>
<button id="collect">Collect</button>
</div>
</div>
<div class="hidden" id="success-container">
<div class="success">
<div class="success-text">
Game finished
<a href="result.html">Continue</a>
</div>
</div>
</div>
<script src="game.js"></script>
</body>
</html>