Commit ff49bef5a6

ff49bef5a68cdd645c6903eee3080c537440d81b

Verified · cmc

cmc <hello@cleberg.net> · 2026-03-23 21:59 UTC

add first-pass anchor-based micro-roguelike prototype

Layout: unified · split

index.html added +108
@@ -0,0 +1,108 @@
1<!doctype html>
2<html lang="en">
3<meta charset="utf-8">
4<meta name="viewport" content="width=device-width,initial-scale=1">
5<title>Micro Roguelike</title>
6
7<h1>Micro Roguelike</h1>
8<p>Choose a path. Learn the dungeon. Die often.</p>
9
10<section id="gate">
11 <h2>Gate</h2>
12 <p>You stand at a ruined gate.</p>
13 <p>
14 <a href="#bones">Left</a><br>
15 <a href="#beast">Right</a><br>
16 <a href="#hall">Forward</a>
17 </p>
18</section>
19
20<section id="bones">
21 <h2>Bones</h2>
22 <p>Bones on the floor. A torch still burns.</p>
23 <p>
24 <a href="#hall">Take torch</a><br>
25 <a href="#pit">Move on</a>
26 </p>
27</section>
28
29<section id="beast">
30 <h2>Beast</h2>
31 <p>A sleeping beast opens one eye.</p>
32 <p><strong>Eaten.</strong></p>
33 <p><a href="#gate">Again</a></p>
34</section>
35
36<section id="hall">
37 <h2>Hall</h2>
38 <p>A stone hall. Stairs descend. A bronze door waits. A crack splits the wall.</p>
39 <p>
40 <a href="#pit">Stairs</a><br>
41 <a href="#idol">Door</a><br>
42 <a href="#crack">Crack</a>
43 </p>
44</section>
45
46<section id="pit">
47 <h2>Pit</h2>
48 <p>A black pit cuts the room in two.</p>
49 <p>
50 <a href="#fell">Jump</a><br>
51 <a href="#vault">Edge along wall</a>
52 </p>
53</section>
54
55<section id="idol">
56 <h2>Idol</h2>
57 <p>A gold idol watches. Coins glitter at its feet.</p>
58 <p>
59 <a href="#cursed">Take gold</a><br>
60 <a href="#crack">Bow</a><br>
61 <a href="#hall">Back</a>
62 </p>
63</section>
64
65<section id="crack">
66 <h2>Crack</h2>
67 <p>Barely wide enough.</p>
68 <p>
69 <a href="#vault">Squeeze through</a><br>
70 <a href="#hall">Return</a>
71 </p>
72</section>
73
74<section id="vault">
75 <h2>Vault</h2>
76 <p>A crown on stone. A small key beside it.</p>
77 <p>
78 <a href="#wrongking">Take crown</a><br>
79 <a href="#win">Take key</a><br>
80 <a href="#gate">Leave</a>
81 </p>
82</section>
83
84<section id="fell">
85 <h2>Death</h2>
86 <p><strong>Fell.</strong></p>
87 <p><a href="#gate">Again</a></p>
88</section>
89
90<section id="cursed">
91 <h2>Death</h2>
92 <p><strong>Cursed.</strong></p>
93 <p><a href="#gate">Again</a></p>
94</section>
95
96<section id="wrongking">
97 <h2>Death</h2>
98 <p><strong>Wrong king.</strong></p>
99 <p><a href="#gate">Again</a></p>
100</section>
101
102<section id="win">
103 <h2>Win</h2>
104 <p>You take the key.</p>
105 <p>The outer gate opens. Dawn.</p>
106 <p><a href="#gate">Again</a></p>
107</section>
108</html>