-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (27 loc) · 817 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<title>Tetris Game</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- <canvas id="canvas" width="200" height="400"></canvas> -->
<div id="game-container">
<div id="left-boxes">
<div id="next-piece-container">
<div id="next-piece-label">Next Piece</div>
<canvas id="next-piece" width="80" height="80"></canvas>
</div>
<div id="level">Level: 1</div>
<div id="score">Score: 0</div>
<button id="pause-btn">Pause</button>
<div id="game-over">Game Over</div>
<button id="restart-btn">Start New Game</button>
</div>
<canvas id="tetris" width=200 height=400></canvas>
<div id = "right-boxes">
</div>
</div>
<script src="script.js"></script>
</body>
</html>