-
Notifications
You must be signed in to change notification settings - Fork 0
/
gooftris.html
49 lines (44 loc) · 1.9 KB
/
gooftris.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
<!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">
<title>TetrisClone | Woodpage</title>
<link rel="stylesheet" href="css/GENERAL.css">
<link rel="stylesheet" href="css/gooftris.css">
<script src="js/GENERAL.js" defer type="module"></script>
<script src="js/gooftris.js" defer type="module"></script>
<link rel="shortcut icon" href="IMG/Favicon.png" type="image/x-icon">
</head>
<body>
<div id="game">
<div id="loading-screen"></div>
<div id="start" class="main-load standardContentBox">
<p>Tetris</p>
<button>Start</button>
<ul id="info">
<li>Press [C] to hold shape</li>
<li>Press [ESC] to pause</li>
<li>Press [UP ARROW] or [W] to rotate</li>
<li>Press [LEFT ARROW] or [A] to move left</li>
<li>Press [RIGHT ARROW] or [D] to move right</li>
<li>Press [DOWN ARROW] or [S] to move down faster</li>
<li>Press [SPACE] to instantly place shape</li>
</ul>
</div>
<p id="hold-text">Hold:</p>
<div id="hold" class="main-load"></div>
<p id="next-shape-text">Next Shape:</p>
<div id="next-shape" class="main-load"></div>
<div id="displays">
<p id="high-score" class="centered-text main-load standardContentBox">High Score:<br>0</p>
<p id="time" class="centered-text standardContentBox main-load">Time:<br>0:00</p>
<p id="level" class="centered-text standardContentBox main-load">Level:<br>0</p>
<p id="points" class="centered-text standardContentBox main-load">Points:<br>0</p>
</div>
<div id="board" class="main-load standardContentBox">
</div>
</div>
</body>
</html>