(Underdepth) Prepare for Pass 5
This commit is contained in:
32 files changed
+31
-4892
No files matched your search
+10
-2
@@ -82,7 +82,8 @@ Write `orchestrate.sh`, `tests/smoke.py` (stub with phase functions), and
|
||||
- Build: `data/constants.py`, `entities/entity.py`, `engine/map_gen.py`,
|
||||
`entities/player.py`, `entities/enemy.py`, minimal `main.py` game loop.
|
||||
- Gate: generate 5 maps, assert each has ≥3 rooms, all rooms reachable via
|
||||
flood fill, no room overlaps. Print ASCII render to confirm.
|
||||
flood fill, no room overlaps, and (floors 0–8) `stairs_down` is a floor tile
|
||||
reachable from the spawn room. Print ASCII render to confirm.
|
||||
|
||||
**Phase 2 — Core Systems (parallelizable):**
|
||||
FOV, A*, and combat are independent. Dispatch them as separate `pi -p`
|
||||
@@ -108,7 +109,7 @@ calls that can run concurrently:
|
||||
- A visible How to Play screen, contextual pickup/stairs prompts, and simple generated sound effects with graceful silent fallback
|
||||
- Procedural pixel-art sprites / effects / lighting / UI per plan.md Rendering (`data/sprites.py`, `render/sprites.py`, `render/effects.py`)
|
||||
- This phase is large — split it into sequential sub-dispatches (e.g. 4a persistence+audio, 4b actions+render+sprites+main) that run BEFORE the single phase gate, if one dispatch cannot finish within the TTL
|
||||
- Gate: save → load → assert state equality; all menu states reachable; simulated `g` pickup and `f` descent work; audio-disabled mode does not crash.
|
||||
- Gate: save → load → assert state equality; all menu states reachable; simulated `g` pickup and `f` descent work; audio-disabled mode does not crash; **stairs are visibly rendered** (the renderer blits a distinct stairs sprite on `stairs_down` — assert this, since invisible stairs make the game unwinnable).
|
||||
|
||||
### Goal backstop
|
||||
|
||||
@@ -173,6 +174,13 @@ When you believe you are done:
|
||||
`Press F to descend`. Automated tests must exercise both actions.
|
||||
- **Systems that don't actually work.** If A* is there but enemies walk into
|
||||
walls, the judge sees that. Each system must be genuinely functional.
|
||||
- **Unwinnable floors.** Every floor 0–8 MUST have stairs on a floor tile
|
||||
reachable from spawn AND visibly rendered (the `>` staircase) so the player
|
||||
can find it and press `f` to descend. Floor 9 is won by slaying a dragon the
|
||||
player can actually damage with floor-9 gear. Missing, unreachable, or
|
||||
invisible stairs — or an unkillable boss — fail the build. The previous build
|
||||
shipped stairs that existed in the map data but were never drawn, so the game
|
||||
had no visible way down: do not repeat this.
|
||||
- **Stopping early.** The prompt must produce a complete game. If you finish
|
||||
a phase and the acceptance criteria aren't all met, keep building.
|
||||
- **Flat colored-square art.** Entities/tiles drawn as plain rectangles read as
|
||||
|
||||
Reference in new issue
Block a user