-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
57 lines (47 loc) · 1.63 KB
/
Copy pathindex.html
File metadata and controls
57 lines (47 loc) · 1.63 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dungeon Instruction Game</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<header class="topbar">
<h1>Dungeon Instruction Game</h1>
<p class="subtitle">Type commands (one per line): F, L, R, STOP</p>
</header>
<main class="layout">
<!-- LEFT: Grid -->
<section class="panel">
<h2 class="panel-title">Grid</h2>
<div id="grid" class="grid">Grid placeholder</div>
</section>
<!-- RIGHT: Instructions -->
<section class="panel">
<h2 class="panel-title">Instructions</h2>
<div class="cmdpad">
<button id="cmdF" class="btn">Forward</button>
<button id="cmdL" class="btn">Turn Left</button>
<button id="cmdR" class="btn">Turn Right</button>
<button id="cmdSTOP" class="btn danger">STOP</button>
</div>
<label class="label" for="instructions">Program (one per line):</label>
<textarea
id="instructions"
class="textarea"
rows="10"
placeholder="F F L F STOP"
></textarea>
<div class="buttons">
<button id="stepBtn" class="btn">Step</button>
<button id="runBtn" class="btn primary">Run</button>
<button id="resetBtn" class="btn">Reset</button>
</div>
<div class="mode-line">Mode: <span id="modeIndicator">EDITING</span></div>
<div id="status" class="status">Ready.</div>
</section>
</main>
<script src="app.js"></script>
</body>
</html>