Codex of the Dungeons
LexiconBestiaryPlacesScenariosSettingsLast touchedFeaturesBacklogDecisionsCopy

h j k l or the arrows move. > goes in. < goes up. F1 is the game.

Decisions 166 decisions

The look

D-1One fused aesthetic, true to the original minimalism. Read through D-49: one fused style, yes; "minimalism" was never the rule.D-5aSprite exceptions later: shopkeepers look like Dustin Hoffman; dogs have faces.D-6One style only. One style fused from all the art seeds, not a minimal or rigid one (D-49).D-11Unexplored space is fog-of-war mist, not rock.D-12No terminal glyphs on floors.D-15Walls are tall (2.6; letters ≈ 0.75).D-18Things look like they feel: heavy things look heavy.D-21Fog of war is burned off by the hero's light: the mist thins continuously with distance from the hero (shader), instead of each square opening on arrival.D-31Remaining "things look like they feel" items (N-25) continue at low priority, after everything in the 2026-10-29 platform brief.D-49Art direction: one style, fused from all the art seeds: the ink-and-watercolor storybook of 1970s–80s module art (whimsical, bright, funny, a little grotesque), Klimt's gold, kintsugi, the Renaissance, R. Crumb's comix, Mordor and the rest of NORTH_STAR.md, intermingled into one look everywhere.D-52Tools take up space Revised by D-54: class glyphs stay letters.D-54A glyph for a whole class stays its letter, evolved in placeD-59A place may look different where NetHack says it doesD-60Altars show their alignment at sight, as NetHack's own tiles draw them.D-61The branches show their own stone for every player, from the wall set the core chose (Mines, Sokoban, Gehennom, Fort Ludios), as the DevTeam's tiles draw them (N-102).D-62Room light by view: in first person and close third person a room seen lit keeps some of its light once out of sight; from the high views remembered floor goes gray, as the tty draws it (N-98).D-67Quasi-hyperreal wherever Codex has chosen to render a form; letters stay lettersD-68Kintsugi is a concept, not cracksD-69The world is a projection of the screen, and knows it (revised by D-75)D-70The DevTeam's tiles, a quiet nod for those who knowD-75No gold outline on any room or hallway; gold as leaf droppedD-76Trailer-grade: every frame Codex ships should be good enough to cut into the game's trailer, and Dad should nod at it (D-58): both, every time.D-78The stage is the default, and letters are drawn through wallsD-79A player's own forms: A player may give monsters forms of their own: glTF files in a folder of theirs beside codex.toml ([own_forms]), named in its forms.toml by letter and color, by letter, or by species.D-80The family's forms are in this repository: the repository is private, and forms/ holds the family's own forms (a head fitted from a family member's photographs: forms.toml, the fit, its sheet and the shape model; forms/PRIVATE.md).D-99The projection, a first iteration and near-final draftD-110The projection's construction shown while playing, as lines from the map to the worldD-111A trip's color passes under lettersD-119A form's bake is trusted everywhere by its key aloneD-122The family's own forms are checked by their films: since X-499 the three playtests that counted what the game loads of a player's own forms (standing, replaced while an edit rebuilds them, read back as kept after a restart) are films only, and no test without the graphics card takes their place; X-504 is not built.D-140The hero's letter on a drawn thing gets a darker edge there; from high up the thing is left as it isD-141A player's own forms need not change during playD-145The monster letters are a bestiary alphabet: each creature's body makes its letterD-146The architecture review's eight decisions: keep the crates as layers, a feature one name across them (X-991); keep closed lists the compiler checks, written from the folders, not by hand (X-992); a treatment becomes a type every row names, now (X-993); rewrite the world to one pure picture each frame that a test can print, the engine only drawing it (X-994, the director chose the rewrite over file by file); what is playing kept in one pure list in nh-plays, built with sound (X-995); a view becomes a place the camera is, now, in two steps (X-996); the ground becomes layers, inside the ground-forms lane (X-997); keep the rule that a square reads only its cell, its neighbors and memory (X-998: "I just thought that there was some render defect associated with it not being able to know itself earlier but if that's not the case let's keep the rule for sure"). | standingD-147Curated worlds and skins are welcome; a switch between art seeds is notD-148Contrast is deferred for the family's own useD-149The bestiary's eight answers, and think outside the box firstD-165The DevTeam's tile inspires; it never constrainsD-166The fountain is the bar for every form drawn from a DevTeam glyphD-167The art direction, as the game is now

The camera

D-2First person needs a minimap with position and facing.D-9Arrows relative to facing when walking: ↑ forward, ↓ back (keeps facing), ←/→ turn in place (90°, Shift for 45°: D-50), Shift+↑ run.D-10Third person is the default.D-14When the game asks for a position (farlook, travel, teleport), arrows are plain 2D map directions and the camera does not turn.D-16Camera vs. walls is a setting (wall_respect 0…1); mist does not block the camera by default.D-20Sliding along walls: ↑ diagonally into a wall sends the open sideways step and keeps the diagonal facing (slide_along_walls).D-22What the 3D view is for: it serves three decisions a player makes better there than on the terminal: depth down a corridor (a line of monsters reads as a line), door orientation and what is through it, and facing as memory of where you came from.D-23Distance: the minimap carries the truth about distance; no geometry tricks.D-44Dead, the camera goes to third person whatever the stance (the hero lies there and the stone rises at that spot; from the eye there is nothing to see).D-50←/→ turn 90°; Shift+←/→ turn 45°D-53An overview camera with a directorD-63Each camera composes for its playstyleD-74The camera and the map, reimagined: the camera behind holds its framing, walls make way for it, and the whole level is always on screen as a north-up map.

What moves

D-5Common mechanics feel as in the original.D-13Notable moments animate (stairs, kicks, doors, corners, squeezes), derived only from the player's keys and what the map shows.D-17New animation ideas are proposals only (see docs/ideas/animations.md); nothing from that list is built without the director's go-ahead. Go-ahead given for the prayer shimmer and the engraving shiver (D-51). (revised by D-135)D-19Stairs are directional flights with real steps: down is an opening whose steps slope away under the floor, up rises through the room.D-26Runs glide.D-40The stairs walk plays only when the player took the stairs (>/<, D-19); other level changes (trapdoor, level teleport, a deeper status line) cut, as the terminal does. Settled (D-130): closed as settled by the moves the fall, the level teleport and the arrival by magic now have (X-302, X-307, N-531).D-41While a run is in progress, every straight move glides along its own line, the run key's or a corridor's next leg after a corner; a move that is not a straight line (the run turned between two looks) cuts.D-42The stairs walk (D-33): the levels stay put and the hero walks. Settled (D-130): kept as decided, with the camera as since changed.D-51New animations: goD-81When plays meet: changes catch up to the truth, reactions composeD-97The black light's blast is a shockwave you can see travelD-94The wall's answers, louderD-93The ink and the down line, much more stylizedD-90The kaleidoscopic butterflies are a murmurationD-91The blast of kaleidoscopic light, 25 timesD-92The rest of the trip, 2 to 5 timesD-95The flatten line pressed toward two dimensionsD-96The lattice, "crazy lines" made geometricD-98Kansas as an old photographD-102Animation primitives from first principles, for the whole backlogD-103The crystal ball's visions lie over the whole view, not in a drawn ballD-104The sacrifice rebuilt on the butterflies' pieces is keptD-106The trip's ink keeps its thicker edge, and nothing moreD-112The trip's black-letter flicker is keptD-125Dad's angry god goes ahead, and Dad's rows come near the topD-126Dad's ideas go aheadD-139Only the hero's own doors swing away from the heroD-163The trip, greatly enhanced: waves, light, a figure in the stone, and the things tripping too

NetHack's truth and the port

D-24Entity tracking is presentation-side and built. Wording changed with N-86's keep (2026-10-31, N-79): it said "(kind, char, color, sub)", but a monster's sub is its species (D-25), which the terminal doesn't show; objects keep sub, which is only their class.D-25Monster species index is carried, not rendered on.D-27The moments layer is a crate.D-28This is a NetHack server.D-39The tty's answering rules (answer.rs and the request handling of input.rs) moved into nh_state::answer (Answerer), so the 3D client, the headless driver (codex-client --drive) and tests answer identically.D-43The port sends the player's own plain-ASCII symbols, and NetHack's default symbol wherever their symbol set would draw something else.D-45A watcher is sent exactly what the player was sent (from the game's start, then live) and the player's answers; nothing else. Settled (D-130): closed as settled by D-114, question 19.D-56The lexicon (crates/nh-lexicon, S-2) is documentation: it knows what every look may turn out to be (identities), so no crate that plays depends on it, and a test checks that.D-58Dad's bar: every addition earns its place and is backed by NetHack's own text, tiles or Guidebook.D-142Codex stops for --More-- where NetHack's terminal doesD-143This build stays on NetHack 3.7; the move to 5.0 comes after it, on its own, and Dad hears first

Tests and the gate

D-30Deterministic seed, tests only.D-34Tests seed the game through the window port, never by editing NetHack: CODEX_SEED sets the seed and a fixed clock, and players keep NetHack's own randomness.D-35A seeded game's clock is pinned (2001-06-15 12:00, TZ=UTC): moon phase, Friday 13th and night are game inputs, so without it seeded runs and scenarios would change with the calendar.D-36Scenarios are recipes (scenarios/NAME/scenario.toml: script and seed); their saves are built per machine into build/scenarios/ because save files differ by platform. Settled (D-130): the three old saves are deleted (T-163).D-37Test layouts a random map rarely offers are wizard-mode fixture levels (tests/fixtures/.lua) loaded with NetHack's own #wizloaddes: the game builds and runs them; they only choose a starting position. Settled (D-130): closed as settled by D-77.D-38corridor-line's corridor is lit in game terms: in an unlit corridor the game shows only adjacent monsters, so there would be no line to draw.D-46Films and recordings run on the game's clock: while one runs, every frame advances the game by exactly 1/30 s (NetHack's pauses included), time holds while shaders compile, and the clock is re-anchored to the wall's afterwards.D-72Playtests run where you push, not on GitHub ActionsD-73Check each layer once, where it is cheapestD-77A test strategy: each behavior tested once, at the lowest layer that sees itD-85CI runs only when askedD-105A wave's checks run once, after the mergeD-107The other platforms' check runs once, after the mergeD-156The drawer and the tests before the features, as one run: the single drawer by name (X-4113), the world's files moved under draw/ (X-4168) and the tests after the rewrite (T-4300: the test programs side by side; the client's tests cut to what the drawer does, the rest held by the printed picture; behavior playtests made recorded sessions, leaving the three journeys and the gallery; the gallery played only when its picture, the drawer or a shader can change) are one run on the desktop, merging once.D-160A push asks for the tests of the crates it reaches; the whole workspace's run once, before a pull requestD-161Pictures accepted on a branch are that branch's until it is mergedD-162A picture is owed when a golden moves, not when its file is edited; and a narrowing of the gate is written down

How the work is done

D-55Skills hold the director's precedentsD-64Platform pilots go to main once their tests pass: protocol v4 (N-94) and truthful readings (N-96) change nothing visible but bugs, so they merge ahead of the pilots that use them.D-65Three kinds of work, shaped by the workflow: the director's look checks taste; truth (nothing the terminal wouldn't show, nothing false) is checked by tests against NetHack's source, because no frame shows it.D-82The code speaks the game, not the algebraD-83Never name code for the kind of work it came fromD-88Finish the trip, then rebalance toward the game's basicsD-117American English: everything written for Codex, code, comments, knobs, docs, backlog rows and cards, is spelled as an American writes it: color, gray, center, neighbor, behavior, catalog, meter, vapor, labeled, traveling, canceled, license.D-133The backlog is built one stage at a time, each stage onceD-135What waits for his go-ahead, and what goes inD-144The flywheel firstD-150The foundations before the features: the flywheel, then the architecture moves (D-146), then the curated worlds' registry (D-147), and only then the accepted feature lanes and the bestiary's painter, then the rest of the features.D-151The pure picture's rewrite, whole, before any feature: every feature lane waits for all twelve parts of the rewrite, not only the parts whose files are done ("Wait for all of it"); and what is playing moves into the one pure list now, inside the rewrite, not later with sound ("Move it now, in the rewrite"), so sound reads the same list when it comes.D-152The accepted lanes merge before the rewrite: the lanes already built and reviewed merge in one batch after the flywheel and before the pure picture's first part touches the world, so the rewrite carries their work over with its both-ways test and nothing finished is redone; every feature after them still waits for the whole rewrite (D-151). | standingD-153The rest of the pure picture in one run: after the plays, what is brought and the eye, the rewrite's remaining parts (letters, the plays' second half, walls, materials, the passage, maps, forms and the close) are built by one Fable builder on one branch, build/groundwork-picture-close, one part after another, from one brief written from everything the first five parts taught (docs/briefs/pure-picture-run.md).D-155The long chain as one run: the planned lanes that wait each on the one before (the motes, a sacrifice's motes, the stairs' arrival, the kinds of engravings, the cave painting, the flight's marks and the eight lanes of strength) are built by one builder in one run, as D-153 built the rewrite, merging once at its end, with the orchestrator reviewing each push in parallel. | standing

Platforms and the build

D-29Linux and macOS are both first-class. (revised by D-72)D-32Bevy goes to the latest stable now (0.20.1 on 2026-10-29).D-47Compiled dependencies are shared by every clone and worktree on a machine: .cargo/config.toml sets build.build-dir to ~/.cargo/build/codex-of-the-dungeons; each checkout keeps its own target/ binaries. Settled (D-130): closed as settled by D-128, question 73.D-48On Windows, nh-host links NetHack's own Windows console game with SHIM_GRAPHICS, cross-compiled from Linux, with no edit to NetHack's source.D-154One renderer: the client itself in the browser: the Bevy client is built for wasm32 and draws in a browser with WebGPU, NetHack in its worker (N-4227, N-4280); option A of docs/briefs/one-renderer.md.D-157The browser build is built by us and published as plain files: a machine of ours builds the browser's page (the client for wasm32, NetHack for the browser, the page) and pushes the finished folder to a branch that Cloudflare Pages serves as it is, with no build of its own.D-158Progressive enhancement in the browser, and every unsupported feature named: the browser build works at every level a browser offers and steps up where more is there (WebGPU or not, the three ways of waiting for a key, storage that keeps a game or not); where a feature cannot work in a browser, it is named, never dropped silently: in a support table kept current in the repository (each feature against Chrome, Edge, Firefox and Safari, desktop and phone: works, works less, does not work, not yet tried) and, where it touches the player, on the page in words.D-159The three.js page kept as the fallback, and one staged loader that picksD-164codex.toml becomes the prosumer's file; the builders' knobs move out

Lists of answers

D-84Hallucination: all four layers, and how trailer-grade reads in a tripD-86The trip's build, its twelve ideas, and the whole paletteD-87Wave 1's three questionsD-89Wave 2A and 2B, as recommendedD-100The gate and the films, faster, as soon as possibleD-108The trip's last run merged with the orchestrator's recommendationsD-113The refactor's three starting answers, as recommendedD-114The refactor's other twenty answersD-116Stage 0's four answers, as recommendedD-118Stage 0's last two answers, as recommendedD-120Stage 1's four answers, as recommendedD-121Stage 2's first four answers, as recommendedD-123Stage 2c's and stage 3a's answersD-127Stage 3b's and stage 4's answersD-128The looks on film and the remainder's answersD-129The backlog's questions, answeredD-130The seventeen provisional decisions, settledD-131NetHack's undecided families, decidedD-132The built looks, judgedD-134The build runs on its own, and who does what (revised by D-136)D-136Opus for the rest of the buildD-137Fable again where the judgment is visual, architectural or interactiveD-138The page's answers of 2026-11-17

Not among the rules

D-3Original letters, no artwork for now.D-4No bespoke art in the milestone.D-7Project at ~/codex-of-the-dungeons/.D-8~~Bevy 0.16.1 for API certainty (latest 0.20); upgrade is X-6.~~ Superseded by D-32.D-33Stairs (animation idea 1) is not done.D-57CI ran what each push could affect (director, 2026-10-30).D-66Builders run inside the session that plans the waveD-71No gold outline in the hero's own room; gold is never decoration (director, 2026-11-01).D-101The crystal ball's visions as the words say them (Danny, 2026-11-14).D-124Dad's angry god: not yet
(end)
The look

D-11

Unexplored space is fog-of-war mist, not rock.

In full

Unexplored space is fog-of-war mist, not rock.

Things it governs

4 things of the lexicon are decided or changed under it.

#corridors (hallways)solid rockunexplored spacefog of war

Built from commit 28a6f4f9c on 2026-12-05. Every page is generated from the repository. The site stores nothing. The same data as JSON: data/index.json.NetHack is by the NetHack DevTeam, under the NetHack General Public License. Codex of the Dungeons changes how the game is drawn, not the game.