-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
36 lines (30 loc) · 853 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
35
36
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Tetris</title>
<link rel="stylesheet" type="text/css" href="index.css">
</head>
<body>
<noscript>JavaScript is disabled.</noscript>
<canvas id="gameWindow" width="600" height="600"></canvas>
<p>Keyboard Controls:</p>
<ul>
<li>Space : Start / Pause</li>
<li>Arrows: move block</li>
<li>A & B: rotate block</li>
</ul>
<p>XBox Controls:</p>
<ul>
<li>Start : Start / Pause</li>
<li>DPad: move block</li>
<li>A & B: rotate block</li>
</ul>
<script src="Constants.js"></script>
<script src="Blocks.js"></script>
<script src="UserInterface.js"></script>
<script src="Controls.js"></script>
<script src="Game.js"></script>
<script src="index.js"></script>
</body>
</html>