export type Tile tagged union with 7 variants. Glyph, label & passability helpers. 5 @test declarations.
generator.axn
LCG-seeded procedural map generator. Tile probability scales by level. export fn generate and count_tag. 4 @test declarations.
renderer.axn
export fn render_map, render_legend, render_stats. Converts grid to HTML colour spans.
config.axn ✦ v0.6
Parses level:seed codes into DungeonConfig. Three @throws functions chain via ? — precise error messages at the exact field that fails. refine documents invariants. 9 @test declarations.
main.axn
DOM wiring. Imports parse_config from config.axn — matches Result to render the dungeon or display the error inline. Code input auto-syncs to current state.