-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (48 loc) · 1.9 KB
/
Copy pathindex.html
File metadata and controls
51 lines (48 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="./images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./images/favicon-16x16.png">
<link rel="manifest" href="./site.webmanifest">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="theme-color" content="#ffffff">
<title>Timber Canyon</title>
</head>
<body>
<div id="gameContainer">
<canvas id="ski"></canvas>
<div id="hud">
<div id="levelDisplay">Ski Free</div>
<div id="scoreDisplay">Score: 0</div>
<div id="distDisplay">Distance: 0m</div>
<div id="highScoreDisplay">Best: 0</div>
</div>
<div id="lives"></div>
<div id="controls">
<button id="cursorBtn">👁 Show Cursor</button>
<button id="speedBtn">🐌 Normal</button>
</div>
<div id="levelBanner"><h3 id="bannerTitle"></h3><p id="bannerSub"></p></div>
<div id="progressBar">
<div class="label"><span id="progLabel">Next level</span><span id="progVal">0 / 1000</span></div>
<div class="track"><div class="fill" id="progFill" style="width:0%"></div></div>
</div>
<div id="overlay">
<h2>⛷ SkiFree</h2>
<div class="sub">Choose your character</div>
<div class="highscore-banner" id="titleHighScore"></div>
<div class="gender-select">
<label><input type="radio" name="gender" value="dude" checked> Dude</label>
<label><input type="radio" name="gender" value="dudette"> Dude-ette</label>
</div>
<div class="char-grid" id="charGrid"></div>
<div id="levelList"></div>
<p class="tip">Mouse or arrow keys · Reach 1000 pts or 2000m to advance!</p>
<button id="startBtn" onclick="startGame()">Ski!</button>
</div>
</div>
</body>
</html>