-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (56 loc) · 1.98 KB
/
Copy pathindex.html
File metadata and controls
64 lines (56 loc) · 1.98 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="./src/icons/favicon.ico" type="image/x-icon">
<title>Neon Highway — 3D Driving Game</title>
</head>
<body>
<div id="starter-screen">
<h1>🏎️ NEON HIGHWAY</h1>
<p>Dodge cones. Grab rings. Don't crash.</p>
<div class="controls-hint controls-hint--desktop">
<div class="controls-hint__slot">
<kbd>A</kbd><kbd>D</kbd> or <kbd>←</kbd><kbd>→</kbd> — Steer
</div>
<div class="controls-hint__slot">
<kbd>Space</kbd> / <kbd>Shift</kbd> — Boost
</div>
</div>
<div class="controls-hint controls-hint--mobile">
<div class="controls-hint__slot">
<kbd>Tap Left</kbd> — Move Left
</div>
<div class="controls-hint__slot">
<kbd>Tap Right</kbd> — Move Right
</div>
<div class="controls-hint__slot">
<kbd>Hold</kbd> — Boost
</div>
</div>
<button id="start-button">Start Driving</button>
</div>
<div id="gameover-screen">
<h1>💥 CRASHED OUT</h1>
<p>Final Score: <span id="final-score">0</span></p>
<button id="restart-button">Try Again</button>
</div>
<div id="damage-flash"></div>
<div id="game-points"><span>0</span> pts</div>
<div id="game-lives"></div>
<div id="game-speed"><span>0</span> mph</div>
<div id="boost-meter">
<div id="boost-label">BOOST</div>
<div id="boost-track"><div id="boost-fill"></div></div>
</div>
<div id="mobile-controls">
<button id="steer-left">◀</button>
<button id="boost-button">
BOOST
</button>
<button id="steer-right">▶</button>
</div>
<script type="module" src="/main.js"></script>
</body>
</html>