-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
52 lines (49 loc) · 1.16 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
<html lang="en">
<head>
<link rel="stylesheet" href="css/keys.css" type="text/css" />
<link rel="stylesheet" href="css/style.css" type="text/css" />
</head>
<body>
<br />
<h1>Super Mario</h1>
<canvas id="canvas"></canvas>
<div class="center" style="padding: 5px">
<h3>How to play:</h3>
<table>
<tr>
<td>
<kbd class="light">←</kbd>/<kbd class="light">A</kbd>
</td>
<td>Move left</td>
</tr>
<tr>
<td>
<kbd class="light">→</kbd>/<kbd class="light">D</kbd>
</td>
<td>Move right</td>
</tr>
<tr>
<td>
<kbd class="light">↑</kbd>/<kbd class="light">W</kbd>
</td>
<td>Jump</td>
</tr>
<tr>
<td>
<kbd class="light">↓</kbd>/<kbd class="light">S</kbd>
</td>
<td>Crouch</td>
</tr>
<tr>
<td><kbd class="light">SPACE</kbd></td>
<td>Restart</td>
</tr>
<tr>
<td><kbd class="light">B</kbd></td>
<td>Toggle draw bounding boxes</td>
</tr>
</table>
</div>
<script type="module" src="main.mjs"> </script>
</body>
</html>