-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (79 loc) · 2.76 KB
/
index.html
File metadata and controls
82 lines (79 loc) · 2.76 KB
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<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>Tetris!</title>
<link href="images/tetris.png" rel="icon" type="image/x-icon" />
<link
href="https://fonts.googleapis.com/css?family=Montserrat:300,400&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="css/style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
</head>
<body>
<div class="menu-wrap">
<input type="checkbox" class="toggler" />
<div class="hamburger">
<div></div>
</div>
<div class="menu">
<div class="menu-content">
<h2 class="t-ucase">rules</h2>
<p class="rules">
Please use the <b class="key">UP</b> key to rotate your tetromino,
and <b class="key">LEFT</b> and <b class="key">RIGHT</b> to <br />
move across the board. Pressing <b class="key">DOWN</b> will speed
up the tetromino.
</p>
<button class="close fw-400">X</button>
</div>
</div>
</div>
<header>
<h1 class="fw-300 t-ucase">
<span class="fw-400 t-wide t-big t-ucase">TETRIS</span><br />
Let's play
</h1>
</header>
<main class="game-area">
<div class="game">
<div class="grid"></div>
</div>
<section>
<div class="display">
<h1 class="score fw-400 t-ucase">
Score <br />
<span class="score-display t-ucase fw-300">0</span>
</h1>
<div class="previous-shape">
<div class="previous-grid"></div>
</div>
<h2 class="lines-display fw-400 t-ucase">
Lines:<span class="lines-score">0</span>
</h2>
</div>
<button class="button t-ucase">Start / Pause</button>
<button class="button t-ucase" id="restart">Play again!</button>
<div class="wrap-instr">
<span><i class="fas fa-arrow-alt-circle-left"></i> Left |</span>
<span><i class="fas fa-arrow-alt-circle-right"></i> Right |</span>
<span><i class="fas fa-arrow-alt-circle-down"></i> Down |</span>
<span><i class="fas fa-arrow-alt-circle-up"></i> Rotate</span>
</div>
</section>
</main>
<footer class="fw-400">
<small class="footer">Dragana 2022</small>
</footer>
<script src="js/app.js" charset="utf-8"></script>
</body>
</html>