-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
63 lines (52 loc) · 2.02 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link href="https://fonts.googleapis.com/css2?family=Bungee+Inline&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styleGame.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Maze Game</title>
</head>
<body>
<h1 class="title">Maze Blaze</h1>
<div class="complete">
<h3>Maze Completed!</h3>
<button class="replay" id="submit">Next Level</button>
<button class="close" id="submit">Close</button>
</div>
<div class="lost">
<h3>Times up!</h3>
<button class="replay2" id="submit">Play again</button>
<button class="explore" id="submit">Keep Trying</button>
</div>
<div class="freeplay">
<button class="return" id="submit">Return to home</button>
<br>
<button class="viewSolution" id="submit">View Solution</button>
</div>
<form id="settings" action="">
<font size="+2">How long can you survive? Find out with Maze Blaze.</font>
<br>
<br>
<font size="+1">Use W,A,S,D or Arrow Keys to move. R key resets to initial position.</font>
<br>
<br>
<br>
<!--<p>Maze Size</p>
|
|
v
<input id="size" type="number" value="500"/></br>
<font size="+1">Rows/columns</font><br>
<input id="number" type="number" value="20" /></br>-->
<input id="submit" type="submit" value="Generate Maze">
</form>
<canvas class="maze"></canvas>
<script src="maze.js"></script>
<script src="settings.js"></script>
<h1 class="timer" id="timer" style='display: none'></h1>
<h1 class="level" id="level" style='display: none'></h1>
<h1 class="score" id="score" style='display: none'></h1>
</body>
</html>