-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
48 lines (42 loc) · 1.26 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
<!DOCTYPE html>
<html>
<head>
<title>Midnight Maze</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css" type="text/css">
<link rel="stylesheet" href="racer.css" type="text/css" />
</head>
<body>
<header>
<h1>Midnight Maze</h1>
<table class="controls">
<thead>
<tr>
<th class="one">Player one</th>
<th class="two">Player two</th>
</tr>
</thead>
<tbody>
<tr>
<td><img src="images/wasd-keys.png" /></td>
<td><img src="images/arrow-keys.png" /></td>
</tr>
<tr>
<td colspan="2" class="center"><input type="button" value="Start game (Space)" onclick="startGame()" /></td>
</tr>
</tbody>
</table>
<br>
</header>
<div class="game">
<div id="maze" class="maze"></div>
</div>
<div class="output center">
<h1 id="message">Press space to start the race...</h1>
<input id="restart" class="hide" type="button" value="Restart game (R)" onclick="restartGame()" />
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.3/jquery.min.js"></script>
<script src="newMaze.js"></script>
<script src="racer.js"></script>
</body>
</html>