-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (82 loc) · 3.98 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="styles.css" />
<script src="game.js" type="module"></script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Hiking Game</title>
<link rel="icon" href="images/favicon.png">
</head>
<body>
<main>
<div id="game-container">
<div class="top-content">
<div class="timer-container">
<p id="timer-text">Time to dusk</p>
<p id="timer">00:00</p>
</div>
<button type="Button" id="startAgainButton">Start Again</button>
<button type="Button" id="helpButton">Help</button>
</div>
<div class="screen-container">
<canvas id="game"></canvas>
<div class="button-container">
<button type="button" id="startButton">Click or press 'n' key to start</button>
<button type="button" id="continueButton">Continue</button>
<button type="button" id="restartButton">Try Again</button>
</div>
<div class="banner-container">
<h2 id="banner-heading"></h2>
<p id="banner-message-1"></p>
<p id="banner-message-2"></p>
</div>
<div class="help">
<button class="close-button">X</button>
<div class="help-content">
<div class="page">
<h2>How to Play</h2>
<article>
<p>1/3</p>
<p>In this game you set off on a hike. Your goal is to walk to the end point before the
time
runs out and the sun sets behind the horizon.</p>
<p>Unfortunately you forgot a map... <br> You only get to see the area for a few seconds
before you have to find your way.</p>
</article>
</div>
<div class="page">
<h2>How to Play</h2>
<article>
<p>2/3</p>
<p>You need to focus and remember as much of the route as you can in that time.<br> The
finish point is marked with a signpost.</p>
<p>You can follow marked trails, but remember, the best route often leads off the
beaten track.</p>
</article>
</div>
<div class="page">
<h2>How to Play</h2>
<article>
<p>3/3</p>
<p>Try to find the fastest route by looking for shortcuts and exploring the area. <br>
Do not be scared to cross the rivers and swim a bit.</p>
<p>Use keyboard arrow keys to move.</p>
<p>Pack your lunch on go on a hike!</p>
</article>
</div>
</div>
<div class="help-navigation">
<button class="help-nav-button" id="help-prev-button">← Prev</button>
<button class="help-nav-button" id="help-next-button">Next →</button>
</div>
</div>
</div>
</div>
</main>
<footer>
<a href="https://github.com/oskarprzybylski23/Game" target="_blank">Check out the GitHub Repository</a>
<p id="footer-text">Made by Oskar Przybylski for Founders and Coders, licensed under the MIT licence</p>
</footer>
</body>
</html>