forked from hoangsonww/The-Maze-Game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (38 loc) · 1.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>The Maze Game</title>
<link rel="stylesheet" href="src/css/style.css">
<link rel="icon" type="image/x-icon" href="utils/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="manifest" href="manifest.json">
</head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CZ3YJF00CG"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-CZ3YJF00CG');
</script>
<body>
<header>
<h1>The Maze Game</h1>
<p>A simple yet fun game to play when you're bored.</p>
</header>
<div class="game-container">
<canvas id="mazeCanvas"></canvas>
<div class="controls">
<button id="moveUp" style="font: inherit; cursor: pointer">Up</button>
<div class="horizontal-controls">
<button id="moveLeft" style="font: inherit; cursor: pointer">Left</button>
<button id="moveDown" style="font: inherit; cursor: pointer">Down</button>
<button id="moveRight" style="font: inherit; cursor: pointer">Right</button>
</div>
</div>
<button id="regenerateMaze" style="margin-top: 25px">Regenerate Maze</button>
<button id="aboutGame" onclick="window.location.href='src/html/about.html'" style="margin-top: 25px">About Game</button>
</div>
<script src="src/js/game.js"></script>
</body>
</html>