-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (51 loc) · 2.06 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href="assets/style.css" rel="stylesheet">
<script src="https://use.fontawesome.com/af46b47400.js"></script>
<link href="https://fonts.googleapis.com/css?family=Work+Sans:400,700,800" rel="stylesheet">
<title>Block Breaker</title>
</head>
<body>
<div class="game">
<div class="title">
Block Breaker
</div>
<div id="scores">
<div>High Score: <span id="high-score">0</span></div>
<div>Score: <span class="current-score">0</span></div>
</div>
<canvas id="canvas" width="438" height="605"></canvas>
<canvas id="blocks" width="438" height="605"></canvas>
<div id="info-bar">
<div class="settings-btn"><i class="fa fa-cog" aria-hidden="true"></i></div>
<div><i class="fa fa-circle" aria-hidden="true"></i> x <span id="ball-count">0</span></div>
</div>
<div class="settings modal">
<div id="close-btn"><i class="fa fa-times" aria-hidden="true"></i></div>
<button class="newgame-btn">New Game</button>
<button id="continue-btn">Continue Game</button>
<div class="ball-color-picker">
Ball Color
<input type="color" value="#0000ff">
</div>
</div>
<div class="game-over modal">
<div class="game-results">Game Over
<div class="results">New High Score!</div>
</div>
<div class="final-score">Final Score: <span class="current-score">0</span></div>
<button class="newgame-btn">Play Again</button>
</div>
</div>
<script type="text/javascript" src="Boundary.js"></script>
<script type="text/javascript" src="Collision.js"></script>
<script type="text/javascript" src="Block.js"></script>
<script type="text/javascript" src="Ball.js"></script>
<script type="text/javascript" src="Objects.js"></script>
<script type="text/javascript" src="View.js"></script>
<script type="text/javascript" src="BallDirection.js"></script>
<script type="text/javascript" src="game.js"></script>
</body>
</html>