-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
97 lines (94 loc) · 3.73 KB
/
index.html
File metadata and controls
97 lines (94 loc) · 3.73 KB
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
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="./dist/main.css" />
<script src="./dist/main.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Kanit:wght@200&display=swap" rel="stylesheet">
<title>Coin Rush!</title>
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
</head>
<body>
<div id="splash-page" >
<h1>Coin Rush!</h1>
<div id="splash-page-button-container">
<div id="game-options-container">
<input id="classic-button" type="button" value="Classic!" />
<input id="endurance-button" type="button" value="Endurance!">
</div>
<br>
<div id="instruction-button-container">
<input id="instruction-button" type="button" value="Instructions">
</div>
</div>
</div>
<div id="instructions-container" style="display: none;">
<div id="instructions">
Hello, welcome to Coin Rush!
<br>
<br>
Coin Rush is a game where the main objective is to collect as many coins and gems as you possibly can before the timer runs out!
<br>
<br>
Coins reward 1 point / Gems reward 2 points!
<br>
<br>
To move your character simply use WASD or the arrow keys on your keyboard!
<br>
<br>
"Classic" is a game-mode where you have only 30 seconds to collect as many valuables as you can
<br>
<br>
"Endurance" is a game-mode where every time you collect a valuable you gain time on the clock!
</div>
<br>
<br>
<input id="instructions-redirect" type="button" value="Back to Menu">
</div>
<div id="game-canvas-container" style="display: none;">
<div id="timer">30</div>
<div id="scores">
<div id="score">Current Score: 0</div>
<div id="high-score">High Score: 0</div>
</div>
<canvas id="game-canvas" width="1120" height="600"></canvas>
<div id="buttons-container">
<div class="character-buttons">
<button id="char-btn-1">Character 1</button>
<button id="char-btn-2">Character 2</button>
<button id="char-btn-3">Character 3</button>
</div>
<div class="background-buttons">
<button id="background-btn-1">Background 1</button>
<button id="background-btn-2">Background 2</button>
<button id="background-btn-3">Background 3</button>
</div>
</div>
</div>
<div id="post-game" style="display: none;">
<div id="game-over">
GAME OVER!
</div>
<div id="score-overview">
<div id="current-overview"></div>
<div id="highscore-overview"></div>
</div>
<div id="restart-button-container">
<input id="restart-button" type="button" value="Restart!">
</div>
</div>
<br>
<br>
<div id="media-container">
<button id="media1" type="button"></button>
<button id="media2" type="button"></button>
</div>
</body>
</html>