-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (66 loc) · 1.79 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
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,viewport-fit=cover">
<title>Canvas Maze</title>
<link rel="stylesheet" type="text/css" media="screen" href="./style/main.css" />
<link rel="stylesheet" type="text/css" media="screen" href="./style/table.css" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-PDS3QN43YJ"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-PDS3QN43YJ');
</script>
</head>
<body>
<main>
<h1>Canvas Maze</h1>
<p>Using an image as input, produces an interactive maze game.</p>
<p>Dark pixels are treated as walls.</p>
<h2>Mazes</h2>
<!-- Table contains links to all the mazes-->
<table>
<thead>
<tr>
<th>Maze</th>
<th>Size</th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="mazes/skullkickers.html">Skullkickers</a></td>
<td>Large</td>
</tr>
<tr>
<td><a href="mazes/circle.html">Circle maze</a></td>
<td>Small</td>
</tr>
</tbody>
</table>
<p>Or choose a <a href="mazes/custom.html">custom image</a> to use as a maze.</p>
<h3>Controls</h3>
<!-- Table contains list of controls -->
<table>
<thead>
<tr>
<th>Input</th>
<th>Response</th>
</tr>
</thead>
<tbody>
<tr>
<td>Mouse click</td>
<td>Move towards click position</td>
</tr>
<tr>
<td>WASD / Arrow Keys</td>
<td>8-directional movement</td>
</tr>
</tbody>
</table>
</main>
</body>
</html>