-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
57 lines (57 loc) · 1.84 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css?family=Space+Mono" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="assets/styles.css">
<title>Bomberman</title>
</head>
<body>
<div id="game-stats">
<h1>Bomberman</h1>
<button id="game-normal-mode">Play Normal Mode</button>
<button id="game-speed-mode">Play Speed Mode</button>
<p id="highest-score"></p>
<p id="game-timer"></p>
<p id="quit-text" class="hidden">Press ESC to quit this game</p>
</div>
<div id="game-current-scores">
<ul class="game-scores">
<li id="player-one-score" class="hidden">Player One Score: 0<li>
<li id="player-two-score" class="hidden">Player Two Score: 0<li>
</ul>
</div>
<div id="game-over" class="hidden">
<h1>Game Over</h1>
</div>
<div id="next-game" class="hidden">
<h2>Press 1 for a New Game - Normal Level<h2>
<h2>Press 2 for a New Game - Speed Level<h2>
</div>
<div id="instructions">
<h2>Your Goal is to defeat the other player.</h2>
<hr>
<h3>How To Play</h3>
<div id="player-instructions">
<p><strong>Player One:</strong></p>
<p>Press → to Move to the Right</p>
<p>Press ← to Move to the Left</p>
<p>Press ↑ to Move to the Up</p>
<p>Press ↓ to Move to the Down</p>
<p>Press 'ALT' to Drop a Bomb</p>
<p><strong>Player Two:</strong></p>
<p>Press 'D' to Move to the Right</p>
<p>Press 'A' to Move to the Left</p>
<p>Press 'W' to Move to the Up</p>
<p>Press 'S' to Move to the Down</p>
<p>Press 'CAPS' to Drop a Bomb</p>
</div>
<br>
</div>
<canvas id="game"
class="game-canvas hidden"
width= "1190px"
height = "630px"></canvas>
<script src="main.bundle.js"></script>
</body>
</html>