-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtetris.html
More file actions
23 lines (23 loc) · 761 Bytes
/
tetris.html
File metadata and controls
23 lines (23 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tetris</title>
<link rel="stylesheet" href="tetris/style.css">
</head>
<body>
<a href="arcade/index.html" style="color:#0aa;text-decoration:none;margin-bottom:10px;">Back to main site</a>
<p id="score">Score: 0</p>
<div id="controls">
<label for="difficulty">Difficulty:</label>
<select id="difficulty">
<option value="1000">Easy</option>
<option value="500" selected>Medium</option>
<option value="250">Hard</option>
</select>
</div>
<canvas id="tetris"></canvas>
<script src="tetris/game.js"></script>
</body>
</html>