-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (63 loc) · 2.63 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!-- file is called index.html as the server automatically looks for an index.html
page. You can use a different file name, however, you would have to make sure to include
the file name in every url.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="icon" href="data:;base64,=">
<script src="https://kit.fontawesome.com/27d376a945.js" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Bricks</title>
<script src="game.js" defer type="module"></script>
</head>
<body>
<div class="title-screen">
<br>
<h1 id="title" style="text-align: center; z-index: 1">BRICK</h1>
<h1 id="title" style="text-align: center; z-index:
1"> BREAKER!</h1>
<br>
<br>
<br>
<p id="title" style="text-align: center; z-index: 1"><u>Instructions</u></p>
<p id="title" style="text-align: center; z-index: 1"> Enter to Start</p>
<p id="title" style="text-align: center; z-index: 1"> Space to Play</p>
<p id="title" style="text-align: center; z-index: 1"> <-- To Move --> </p>
<p id="title" style="text-align: center; z-index: 1"> P to Pause</p>
<p id="title" style="text-align: center; z-index: 1"> M to Mute Music</p>
<div id="title" style="position:relative;top:140px ;text-align: center; z-index: 1"> by tb38r & eternal17
</div>
</div>
<div class="top-stats">
<div class="time"></div>
<div class="scoreboard"></div>
<div class="lives"></div>
<i class="fa-solid fa-volume-high fa-3x" id="sound"></i>
</div>
<div class="game-board">
<div id="pauseDiv">
<span id="paused">GAME PAUSED</span>
<span id="continue">Continue (press P)</span>
<span id="reset">Restart (press R)</span>
</div>
<div id="game-over">
<span>Game Over!</span>
<span id="final-score">Score:</span>
<span id="reset">Restart (press R)</span>
</div>
<div id="you-win">
<span>You Win!</span>
<span id="score">Score:</span>
<span id="time">Seconds: </span>
<span id="reset">Restart (press R)</span>
</div>
</div>
</body>
</html>