-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·56 lines (52 loc) · 1.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="style.css" />
<script src="script.js" defer></script>
<script src="lodash.js" defer></script>
</head>
<body>
<section>
<div class="color"></div>
<div class="color"></div>
<div class="color"></div>
<h1 id="game-title">Tetris</h1>
<div class="box">
<div class="square" style="--i: 0"></div>
<div class="square" style="--i: 1"></div>
<div class="square" style="--i: 2"></div>
<div class="square" style="--i: 3"></div>
<div class="square" style="--i: 4"></div>
<div class="game-box">
<div class="buttons">
<button id="start">START/PAUSE</button>
<button id="new-game">NEW GAME</button>
</div>
<div class="game-content">
<!--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-->
<!-- background container -->
<div id="container" class="container">
<!-- block element -->
<!-- <div class="activity-model"></div> -->
</div>
<!--!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-->
<div class="instructions">
<h3>SCORE:</h3>
<h4 id="score"></h4>
<p>Use the arrow keys on your keyboard to play this game</p>
<ul>
<li>UP: rotate</li>
<li>LEFT: move left</li>
<li>RIGHT: move right</li>
<li>DOWN: speed up the drop process</li>
</ul>
</div>
</div>
</div>
</div>
</section>
</body>
</html>