-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
60 lines (51 loc) · 1.82 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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="https://img.icons8.com/ios-filled/50/000000/tetris.png" SameSite="Strict">
<link rel=" stylesheet" href="styles.css">
<title>Tetris</title>
</head>
<body>
<h1 class="title">
<span class="">T</span>
<span class="">E</span>
<span class="">T</span>
<span class="">R</span>
<span class="">I</span>
<span class="">S</span>
</h1>
<div class="container">
<div class="scoreContainer">
<h2>Score</h2>
<div class="score">0</div>
<button id="startBtn">Start / Pause</button>
<button id="restartBtn">Restart</button>
</div>
<div class="container">
<div id="grid"></div>
</div>
<div class="miniGrid__Container">
<div class="miniGrid">
<h2>Next</h2>
<div class="nextTetromino">
</div>
</div>
</div>
</div>
<p class="author">
Made with️ ❤️ by <a target="_blank" href="https://github.com/shanoysinc">Shanoy Sinc</a>
© 2020
</p>
<audio class="themeMusic" src="audio/TetrisSoundtrack.mp3" loop="true">
<p>If you are reading this, it is because your browser does not support the audio element. </p>
</audio>
<audio class="clearBlock" src="audio/clearblock.mp3">
<p>If you are reading this, it is because your browser does not support the audio element. </p>
</audio>
<audio class="gameOverAudio" src="audio/Mario Dying Sound.mp3">
<p>If you are reading this, it is because your browser does not support the audio element. </p>
</audio>
<script src="dist/app.js"></script>
</body>
</html>