forked from kubowania/Tetris-Basic
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
188 lines (159 loc) · 4.33 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="style.css"></link>
<title>Basic Tetris</title>
</head>
<body>
<!-- UPDATE HERE -->
<div class="overlay" id="paneloverlay">
<audio id="myAudio">
<source src="https://bzozoo.github.io/Tetris-Basic/tetrisTheme.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<div id="rewardContainer">
<div id="rewardPicDiv">
</div>
</div>
<div id="gameOverDiv" class="hideByOpacity">
<div id="overScore">0000</div>
</div>
<div class="container">
<div class="grid-bg"></div>
<div class="grid">
</div><!-- GRID DIV END-->
<div class="sidebar">
<div id="scoreBox">
<p>
<strong>
S C O R E
</strong>
</p>
<p id="scoreDisplay">0</p>
</div>
<div class="mini-grid">
<div class="first-in-minirow"></div>
<div><strong>N</strong></div>
<div><strong>E</strong></div>
<div><strong>X</strong></div>
<div><strong>T</strong></div>
<div></div>
<div class="first-in-minirow"></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div class="first-in-minirow"></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div class="first-in-minirow"></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div class="first-in-minirow"></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div class="first-in-minirow"></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
<div id="speedBox">
<strong>SPEED</strong><span id="speedDisplay">0</span>
</div>
<div class="actions">
<p>
<button class="actionBtn" id="loginBtn">⚡ LOGIN</button>
<button class="actionBtn hidden" id="profileBtn">👤 PROFILE</button>
</p>
<p>
<button class="actionBtn" id="start-button">▶ START</button>
</p>
<p>
<button class="actionBtn" id="muteButton">🔇 MUTE</button>
</p>
<p>
<button class="actionBtn" id="resetButton">↺ RESET GAME</button>
</p>
<p>
<button class="actionBtn" id="optionsButton">⚙️ OPTIONS</button>
</p>
</div>
</div>
</div>
<div id="logo">
Bzozoo Tetris Basic <span id="version">{{ version }}</span>
</div>
<div class="controlls" id="controllButtonsSection">
<p>
<button class="gombBtn" id="leftMove"> ◄ </button>
<button class="gombBtn" id="rightMove"> ► </button>
<button class="gombBtn" id="downMove">▼</button>
<button class="gombBtn" id="rotation">🔄</button>
</p>
</div>
</div>
<div id="highscore" class="modal hidden flexcolumn">
<div class="navbar">
<div class="title">HIGHSCORE</div>
<div class="navbtns"><button class="actionBtn" id="closeHighScore">X</button></div>
</div>
<div id="highscorecontent" class="panel">
<!-- {{ HIGH SCORE }} -->
</div>
</div>
<div id="userzone" class="modal hidden">
<div class="navbar">
<div class="title">USER ZONE</div>
<div class="navbtns"><button class="actionBtn" id="closeUserZone">X</button></div>
</div>
<div id="login" class="panel">
<!-- {{ IF USER NOT LOGGED IN }} -->
</div>
<div id="usercontainer" class="panel">
<!-- {{ IF USER LOGGED IN }} -->
</div>
</div>
<div id="optionspanel" class="modal hidden">
<div class="navbar">
<div class="title">OPTIONS</div>
<div class="navbtns"><button class="actionBtn" id="closeOPtions">X</button></div>
</div>
<div id="optionscontainer">
<div class="actions">
<p>
<input type="checkbox" name="effect" id="effect" checked /><label for="effect">BOOM EFFECT</label>
</p>
<p>
<input type="checkbox" name="invert" id="invert" /> <label for="invert">INVERT ¿</label>
</p>
<p>
<input type="checkbox" name="reward" id="reward" checked /> <label for="reward">REWARD</label>
</p>
<p>
<input type="checkbox" name="weird" id="weird" /> <label for="weird">WEIRDMOD</label>
</p>
</div>
</div>
</div>
<div id="scoresavedbox" class="modal hidden">
SCORE SAVED
</div>
<!-- UPDATE EBD-->
<script src="./js/sweetalert.js"></script>
<script src="./js/app.js" charset="utf-8"></script>
</body>
</html>