-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (38 loc) · 1.01 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="style.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<title>Matopeli</title>
</head>
<body>
<div class="container">
<div id="ohjeet">W-A-S-D-Q-E: Static</div>
<button id="btn" onclick="changeControls();">controls</button>
<div id="points">0</div>
<div id="scoreboard"></div>
<div id="game-frame"></div>
<script type="module" src="matopeli.js"></script>
<div class="mobileControls">
<button id="a">A</button>
<button id="s">S</button>
<button id="d">D</button>
<button id="w">W</button>
<button id="q">Q</button>
<button id="e">E</button>
</div>
<div class="lb">
<table id="leaderboard-table">
<thead>
<tr>
<th>Name</th>
<th>Score</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</body>
</html>