-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
28 lines (28 loc) · 942 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Tetris</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/style.css" type="text/css" rel="stylesheet">
</head>
<body>
<div id="container">
<canvas id="next-canvas" width="120px" height="120px"></canvas>
<canvas id="game-canvas" width="360px" height="600px"></canvas>
<div id="high-score"></div>
<div id="score"></div>
<div id="gameover"><span>Game Over</span></div>
<div id="controls">
<span><b>move</b> ← →</span>
<span><b>rotate</b> ↑</span>
<span><b>drop</b> ↓</span>
<span><b>restart</b> r</span>
</div>
</div>
<script src="js/blocks.js"></script>
<script src="js/game.js"></script>
<script src="js/main.js"></script>
</body>
</html>