-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (39 loc) · 1.31 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Tetris</title>
<link href="style.css" rel="stylesheet">
</head>
<body>
<div>
<img src="./images/tetris-logo.png" class="logo"/>
<img src="./images/instructions.png" class="instructions"/>
</div>
<div class="outerbox">
<canvas id="game"
class="game-canvas"
width="300px"
height="600px">
</canvas>
<h2 id="game-over"></h2>
<div>
<img src="./images/next.png" class="next"/>
<div class="shapes">
<img src="./images/i-shape.png" id="iShape" class="shape hidden" />
<img src="./images/j-shape.png" id="jShape" class="shape hidden" />
<img src="./images/l-shape.png" id="lShape" class="shape hidden" />
<img src="./images/o-shape.png" id="oShape" class="shape hidden" />
<img src="./images/s-shape.png" id="sShape" class="shape hidden" />
<img src="./images/t-shape.png" id="tShape" class="shape hidden" />
<img src="./images/z-shape.png" id="zShape" class="shape hidden" />
</div>
</div>
<div class="score">
<img src="./images/score.png" class="score"/>
<h2 id="score"></h2>
</div>
</div><!--outerbox-->
<script src="main.bundle.js"></script>
</body>
</html>