-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.html
64 lines (59 loc) · 3.28 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
<!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">
<meta name="description" content="A simple yet fun game to play when you're bored.">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="The Maze Game - A Fun Game to Play When You're Bored" />
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta http-equiv="content-language" content="en" />
<meta property="og:description" content="A simple yet fun game to play when you're bored." />
<meta property="og:url" content="https://hoangsonww.github.io/The-Maze-Game/" />
<meta property="og:site_name" content="The Maze Game" />
<meta name="keywords" content="movies, film guide, directors, actors, movie genres, cinema, film reviews, tv shows, movie verse, movieverse, film" />
<meta name="author" content="Son Nguyen">
<link rel="canonical" href="https://hoangsonww.github.io/The-Maze-Game/" />
<meta name="robots" content="index, follow">
<meta name="rating" content="General">
<meta name="revisit-after" content="3 days">
<meta name="distribution" content="global">
<meta name="language" content="en">
<meta name="theme-color" content="#000000">
<meta name="referrer" content="no-referrer-when-downgrade">
</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 style="margin-top: 450px">The Maze Game</h1>
<p>A simple yet fun game to play when you're bored.</p>
<p id="lifetimeScore" style="font-weight: bold">Lifetime Score: 0</p>
</header>
<div class="game-container">
<canvas id="mazeCanvas"></canvas>
<div class="controls">
<p style="color: white"><strong>Controls</strong></p>
<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" title="Too hard? Regenerate the maze! Note that you will lose 1 point for that.">Regenerate Maze</button>
<button id="aboutGame" onclick="window.location.href='src/html/about.html'" style="margin-top: 25px; margin-bottom: 200px">About</button>
</div>
<script src="src/js/game.js"></script>
</body>
</html>