-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathballblast.html
43 lines (41 loc) · 1.19 KB
/
ballblast.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Ball Blast</title>
<link rel="stylesheet" href="ballblast.css">
<link href="https://fonts.googleapis.com/css?family=Arvo&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Assistant:300,400" rel="stylesheet">
</head>
<body>
<div class="instructions">
<h3 >Instructions :</h3>
<h4>
Controls: A-Move canon left & D-Move canon right <br>
P - Pause/Resume game <br>
Options:
</h4>
</div>
<div class="highScores">
<h3>Your high scores:</h3>
<ul>
</ul>
</div>
<!-- <div class="playerScore">
<h3>Player Score :</h3>
</div> -->
<div class="messageDiv">
<h3>Game Over! </h3>
<h3>Your score is : </h3>
<h3> Press space to continue
</h3>
</div>
<div class="canvasDiv">
<canvas id="gameCanvas" width="500" height="700"></canvas>
<button id = "highscore">High scores</button>
<button id = "reset">Reset</button>
<button id="mute">Mute</button>
</div>
<script src="ballblast.js" charset="utf-8"></script>
</body>
</html>