-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (80 loc) · 3.24 KB
/
index.html
File metadata and controls
80 lines (80 loc) · 3.24 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#000000">
<title>Lode Runner (1983) - Apple II Edition</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="game-container">
<div id="header">
<div>
<span class="label">SCORE:</span>
<span id="score" class="value">000000</span>
</div>
<div>
<span class="label">LEVEL:</span>
<span id="level" class="value">01</span>
</div>
<div>
<span class="label">MEN:</span>
<span id="lives" class="value">5</span>
</div>
<div id="sound-toggle" title="Toggle Sound (M)">
<span id="sound-icon">🔊</span>
</div>
<div class="version">v1.0</div>
</div>
<div id="canvas-wrapper">
<canvas id="game-canvas"></canvas>
<div id="death-overlay">
<h2 id="death-title">STUCK!</h2>
<div id="death-reason" class="reason"></div>
<div class="hint">Press ENTER to continue</div>
</div>
</div>
<div id="message"></div>
<div id="instructions">
<p>APPLE II MOVE: I,J,K,L | DIG: U,O / Z,X / F1,F2</p>
<p>ENTER: Start/Pause | ESC: Pause | R: Restart | M: Sound</p>
<div id="key-display">
<span class="key-item" data-key="LEFT">◀</span>
<span class="key-item" data-key="UP">▲</span>
<span class="key-item" data-key="DOWN">▼</span>
<span class="key-item" data-key="RIGHT">▶</span>
<span class="key-item" data-key="DIGL">DIG-L</span>
<span class="key-item" data-key="DIGR">DIG-R</span>
</div>
</div>
<!-- Mobile Touch Controls -->
<div id="mobile-controls">
<div id="dpad">
<button id="btn-up" data-key="UP">▲</button>
<div class="dpad-row">
<button id="btn-left" data-key="LEFT">◀</button>
<button id="btn-down" data-key="DOWN">▼</button>
<button id="btn-right" data-key="RIGHT">▶</button>
</div>
</div>
<div id="action-buttons">
<button id="btn-digl" data-key="DIGL">DIG L</button>
<button id="btn-digr" data-key="DIGR">DIG R</button>
</div>
<div id="system-buttons">
<button id="btn-pause" data-key="ESC">❚❚</button>
<button id="btn-enter" data-key="ENTER">ENTER</button>
<button id="btn-restart" data-key="RESTART">↻</button>
</div>
</div>
<div id="copyright">
<span>© 1983 Broderbund Software</span>
<span class="refactor">Web Version</span>
</div>
</div>
<script src="game.js"></script>
</body>
</html>