forked from CKMurison/Tetris
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (76 loc) · 3.57 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
81
<!doctype html>
<html>
<style>
@import url('https://fonts.cdnfonts.com/css/8bit-wonder');
</style>
<head>
<title>Tetris</title>
<link rel="icon" type="image/png" href="media/battle-tetris-favicon.png">
<link rel="stylesheet" href="./styles/styles.css">
</head>
<body>
<div id="main-container">
<div class="image-container">
<img id="tetris-logo" class="logo" src="./media/battle-tetris-logo.png">
</div>
<div class='instructionsContainer'>
<div class='uiContainer player2'>
<span class="boxTitle" style="font-weight:bold">Player 2</span><br>
<div><span class="headers" style="font-weight:bold">Lines cleared:</span><br>
<span id="linesClearedP2">0</span></div>
<div><span class="headers" style="font-weight:bold">Next power-up:</span><br>
<span id="nextPowerUpP2">Opponent Speed Up</span></div>
<span class="headers" style="font-weight:bold">Controls:</span><br>
a : Move Left<br>
d : Move Right<br>
s : Rotate<br>
w : Speed up
</div>
<div class='uiContainer player1'>
<span class="boxTitle" style="font-weight:bold">Player 1</span><br>
<div><span class="headers" style="font-weight:bold">Lines cleared:</span><br>
<span id="linesClearedP1">0</span></div>
<div><span class="headers" style="font-weight:bold">Next power-up:</span><br>
<span id="nextPowerUpP1">Opponent Speed Up</span></div>
<span class="headers" style="font-weight:bold">Controls:</span><br>
← : Move Left<br>
→ : Move Right<br>
↑ : Rotate<br>
↓ : Speed up
</div>
</div>
<div id="gridElement"></div>
<div class="instructionsContainer">
<div class='uiContainer'>
<span class="boxTitle" style="font-weight:bold">Controls:</span><br>
<div> <strong>spacebar</strong> : Pause<br></div>
<div> <strong>r</strong> : Restart<br></div>
<div> <strong>m</strong> : Mute</div>
</div>
<div class="uiContainer">
<div><span class="headers" style="font-weight:bold">Active Player:</span>
<span id="activePlayer"></span></div>
<div><span class="headers" style="font-weight:bold">Music:</span>
<div id="musicMuted">On</div></div>
</div>
<div class="uiContainer">
<span class="boxTitle" style="font-weight:bold">Power-Ups:</span><br>
<span class="headers" style="font-weight:bold">Opponent Speed Up:</span>
Increases the speed at which opponents pieces will fall<br><br>
<span class="headers" style="font-weight:bold">Bizarre Tetromino:</span>
The next piece generated for the opponent will be a significantly more complex piece<br><br>
<span class="headers" style="font-weight:bold">Remove A Block:</span>
Removes a random block in the opponents side of the board
</div>
</div>
</div>
</div>
<script type="text/javascript" src="bundle.js"></script>
</body>
</html>