-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (51 loc) · 1.77 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
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Tetromino - VeryBadFrags</title>
<meta name="description" content="Play Tetromino on desktop for free" />
<meta name="keywords" content="Tetris, Game" />
<link rel="stylesheet" type="text/css" href="/src/style.css" />
<link rel="icon" type="image/svg+xml" href="four-squares-line.svg" />
<link
rel="alternate icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🧱</text></svg>"
/>
</head>
<body>
<main>
<div class="flex">
<canvas id="game" width="240" height="400"></canvas>
<div>
<canvas id="nextPiece" width="100" height="100"></canvas>
<div id="score"></div>
</div>
</div>
</main>
<div>
<!-- Settings -->
<div>
<div class="controls">
<h3>Controls</h3>
<div>Left: <span id="controlsLeft"></span></div>
<div>Right: <span id="controlsRight"></span></div>
<div>Rotate left: <span id="controlsRLeft"></span></div>
<div>Rotate right: <span id="controlsRRight"></span></div>
<div>Fast drop: <span id="controlsDown"></span></div>
<div>Instant drop: <span id="controlsUp"></span></div>
</div>
<button id="azerty">Switch to AZERTY</button>
<br />
</div>
</div>
<footer>
<img
alt="License: MIT"
src="https://img.shields.io/badge/license-MIT-green"
/>
<br />
<a href="https://github.com/VeryBadFrags/blocks" target="_blank"
>🐙 Source code on GitHub</a>
</footer>
<script type="module" src="/src/main.ts"></script>
</body>
</html>