-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (66 loc) · 3.92 KB
/
Copy pathindex.html
File metadata and controls
68 lines (66 loc) · 3.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, user-scalable=no">
<meta name="theme-color" content="#020617">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="Infinite Soldiers">
<title>Infinite Soldiers</title>
<link rel="icon" type="image/svg+xml" href="favicon.svg">
<link rel="icon" type="image/png" sizes="32x32" href="favicon.png">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="manifest" href="manifest.webmanifest">
<link rel="stylesheet" href="app.css">
</head>
<body>
<main class="infinite-soldiers-page">
<section class="game-card">
<div class="game-root" data-infinite-soldiers-root>
<div class="game-hud">
<div class="hud-item">
<span class="hud-label">Squad</span>
<strong class="hud-value" data-role="squad-current">2</strong>
</div>
<div class="hud-item">
<span class="hud-label">Distance</span>
<strong class="hud-value" data-role="distance-current">0m</strong>
</div>
<div class="hud-item">
<span class="hud-label">Score</span>
<strong class="hud-value" data-role="score-current">0</strong>
</div>
</div>
<div class="stage-shell">
<canvas class="runner-canvas" data-role="canvas" width="420" height="720"></canvas>
<div class="game-over-modal" data-role="game-over" hidden aria-hidden="true">
<div class="game-over-card" role="dialog" aria-modal="true" aria-labelledby="game-over-title">
<span class="game-over-kicker">Run ended</span>
<h2 class="game-over-title" id="game-over-title">Squad wiped</h2>
<p class="game-over-copy">Your run is over. Check the final numbers, then head straight back out.</p>
<div class="game-over-grid" role="group" aria-label="Final run stats">
<span class="game-over-grid-heading"></span>
<span class="game-over-grid-heading">Value</span>
<span class="game-over-grid-heading">Best</span>
<span class="game-over-grid-label">Distance</span>
<strong class="game-over-grid-value" data-role="game-over-distance-current">0m</strong>
<strong class="game-over-grid-value game-over-grid-value-best" data-role="game-over-distance-best">0m</strong>
<span class="game-over-grid-label">Score</span>
<strong class="game-over-grid-value" data-role="game-over-score-current">0</strong>
<strong class="game-over-grid-value game-over-grid-value-best" data-role="game-over-score-best">0</strong>
</div>
<div class="game-over-actions">
<button type="button" class="game-over-button" data-action="play-again">Play again</button>
<button type="button" class="game-over-button game-over-button-secondary" data-action="reset-stats">Reset stats</button>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<script type="module" src="js/app.js"></script>
</body>
</html>