-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (45 loc) · 1.18 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Arkanoid</title>
<link rel="stylesheet" type="text/css" href="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>
<body>
<h1>Arkanoid</h1>
<div id="instructions">
<p>"Space" to Start/Pause</p>
<p><i class="fas fa-arrow-left"></i> <i class="fas fa-arrow-right"></i> Move</p>
<p>"Enter" to Restart</p>
</div>
<div id="game-board">
<div id="paddle"></div>
<div id="ball"></div>
</div>
<div id="hud">
<div id="lives">Lives: 3</div>
<div id="score">Score: 0</div>
<div id="timer">Time: 00:00.000</div>
</div>
<div id="pause-menu" class ="hidden">
<div class="menu-content">
<h2>Game Paused</h2>
<p>Press "Space" to Resume</p>
</div>
</div>
<div id="win-menu" class="hidden">
<div class="menu-content">
<h2>You won!</h2>
<p>Press "Space" to Restart</p>
</div>
</div>
<div id="game-over-menu" class="hidden">
<div class="menu-content">
<h2>GAME OVER!</h2>
<p>Press "Space" to Restart</p>
</div>
</div>
<script src="script.js"></script>
</body>
</html>