-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
90 lines (74 loc) · 3.96 KB
/
Copy pathindex.html
File metadata and controls
90 lines (74 loc) · 3.96 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/png" href="/src/assets/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>The Bricks</title>
</head>
<body>
<div id="app" class="min-h-screen px-4 py-6">
<div class="game-shell mx-auto flex w-full flex-col items-center gap-4">
<div class="w-full rounded-xl border border-slate-700/80 bg-slate-950/70 p-4 shadow-xl">
<div class="flex min-w-0 flex-col gap-3 lg:flex-row lg:items-center lg:justify-between">
<div class="flex min-w-0 flex-1 flex-wrap items-center justify-start gap-2 lg:gap-4">
<div class="ability-menu flex min-w-0 flex-nowrap items-center gap-2 self-stretch">
<button id="redAbilityButton" type="button" class="ability-button" aria-label="Activate red rock ability">
<img id="redAbilityIcon" class="ability-icon" alt="Red rock ability icon" />
<span id="redAbilityCount" class="ability-count" aria-hidden="true"></span>
</button>
<button id="blueAbilityButton" type="button" class="ability-button"
aria-label="Activate blue rock ability">
<img id="blueAbilityIcon" class="ability-icon" alt="Blue rock ability icon" />
<span id="blueAbilityCount" class="ability-count" aria-hidden="true"></span>
</button>
<button id="currentScoreButton" type="button"
class="control-button rounded-md bg-slate-800 px-3 py-1.5 text-sm font-medium text-white shadow">
</button>
<p id="abilityMessage" class="ability-message" aria-live="polite"></p>
</div>
</div>
<div class="flex min-w-0 shrink-0 flex-wrap items-center justify-end gap-2">
<button id="rocketSpeedButton" type="button"
class="control-button rounded-md bg-slate-800 px-3 py-1.5 text-sm font-medium text-white shadow">
Rocket speed
</button>
<button id="padSpeedButton" type="button"
class="control-button rounded-md bg-slate-800 px-3 py-1.5 text-sm font-medium text-white shadow">
Pad speed
</button>
<button id="modeButton" type="button"
class="control-button rounded-md bg-slate-800 px-3 py-1.5 text-sm font-medium text-white shadow">
Mode
</button>
<button id="pauseButton" type="button"
class="control-button rounded-md bg-slate-800 px-3 py-1.5 text-sm font-medium text-white shadow">
</button>
<button id="playerNameButton" type="button"
class="control-button rounded-md bg-slate-800 px-3 py-1.5 text-sm font-medium text-white shadow"
title="Change player name" aria-label="Change player name">
</button>
<button id="howToPlayButton" type="button"
class="control-button rounded-md bg-slate-800 px-3 py-1.5 text-sm font-medium text-white shadow"
title="How to play" aria-label="How to play">
</button>
<button id="aboutButton" type="button"
class="control-button rounded-md bg-slate-800 px-3 py-1.5 text-sm font-medium text-white shadow"
title="About" aria-label="About">
</button>
</div>
</div>
</div>
<div class="flex flex-col items-center gap-2 lg:flex-row lg:items-stretch">
<canvas id="gameCanvas" width="800" height="600"
class="block rounded-lg border border-slate-700 shadow-2xl"></canvas>
<div
class="flex w-4 shrink-0 self-stretch overflow-hidden rounded-md border border-slate-700/80 bg-slate-900 lg:mt-0">
<div id="fuelTankFill" class="h-full w-full origin-bottom rounded-md bg-emerald-400"></div>
</div>
</div>
</div>
</div>
<script type="module" src="/src/js/main.js"></script>
</body>
</html>