(Underdepths) Prepare for Pass 7
This commit is contained in:
30 files changed
+183
-5713
No files matched your search
+49
-20
@@ -26,8 +26,10 @@ You are building **Underdepths**, a turn-based roguelike in Python with pygame-c
|
||||
`plan.md`, dispatches fixes for any that fail, loops until all pass
|
||||
- Uses the DEFAULT model only — never passes `--model` or `--provider` to `pi -p`
|
||||
(the whole build runs on whatever is configured as the default model)
|
||||
- Wraps each dispatch in `timeout --kill-after=30`, and splits any phase too
|
||||
large for one dispatch (e.g. phase 4) into sequential sub-builds before its gate
|
||||
- Gives every dispatch a hard TTL with SIGKILL escalation: use GNU `timeout`,
|
||||
Homebrew `gtimeout`, or an equivalent Python stdlib process-group watchdog
|
||||
- Splits any phase too large for one dispatch (e.g. phase 4) into sequential
|
||||
sub-builds before its gate
|
||||
3. **Then execute the pipeline.** Run `./orchestrate.sh`. Let it drive the build
|
||||
through all four phases to completion.
|
||||
4. **Do not stop until every acceptance criterion in `plan.md` is met.** The
|
||||
@@ -37,18 +39,31 @@ You are building **Underdepths**, a turn-based roguelike in Python with pygame-c
|
||||
function must work.
|
||||
6. **Make controls discoverable and verify them.** Provide How to Play from the
|
||||
main menu and before every New Game. Show `Press G to pick up` while standing
|
||||
on an item and `Press F to descend` while standing on stairs. The
|
||||
smoke suite must simulate both actions; rendering instructions alone is not enough.
|
||||
7. **Add simple resilient audio.** Generate short sound effects in memory with
|
||||
on an item and `Press F to descend` while standing on stairs. The smoke suite
|
||||
must simulate both actions; rendering instructions alone is not enough.
|
||||
7. **Build compact, populated floors.** Store each corridor as its ordered
|
||||
centerline path between recorded room/junction boundaries. Keep `len(path) - 1`
|
||||
at 14 movement steps or fewer; gates must also prove each path tile is floor and
|
||||
no corridor was carved outside the recorded paths. Spawn exactly 4, 6, 8, 10,
|
||||
12, 14, 16, 18, and 20 regular enemies on display floors 1–9.
|
||||
8. **Add the two traversal/combat items exactly as specified.** Guarantee Shoes of
|
||||
Hermes on display floor 2 and a Hunter's Bow on display floor 3. The Shoes must
|
||||
use held-key polling, not OS key repeat: without them a press moves once; with
|
||||
them equipped, holding repeats complete turns after 180 ms and every 75 ms until
|
||||
release, block, menu, floor change, death, or victory. `b` fires an equipped Bow
|
||||
at a visible in-range enemy, prefers a fleeing target even over a nearer chaser,
|
||||
cannot shoot through walls, and consumes a turn. Test both mechanics through the
|
||||
real input and action paths.
|
||||
9. **Add simple resilient audio.** Generate short sound effects in memory with
|
||||
pygame/stdlib only, add an `m` mute toggle, and fall back silently when no
|
||||
audio device is available. Do not add asset files or music.
|
||||
8. **Make it look polished.** Draw every entity, tile, and item as procedural
|
||||
10. **Make it look polished.** Draw every entity, tile, and item as procedural
|
||||
pixel-art — hand-coded multi-color pixel patterns rendered with `pygame.draw`,
|
||||
no external image files. The 7 enemies, player, items, and stairs must each be
|
||||
visually distinct and recognizable (not recolors). Add radial torch-light,
|
||||
explored-tile dimming, beveled walls, drop shadows, particle bursts on
|
||||
combat/death/pickups, screen-shake on damage, and a bordered UI with HP/XP
|
||||
bars and icons. Plain colored squares are unacceptable.
|
||||
no external image files. The 7 enemies, player, Bow, winged Shoes, other items,
|
||||
and stairs must each be visually distinct and recognizable (not recolors). Add
|
||||
radial torch-light, explored-tile dimming, beveled walls, drop shadows, particle
|
||||
bursts on combat/death/pickups, screen-shake on damage, and a bordered UI with
|
||||
HP/XP bars and weapon/armor/boots icons. Plain colored squares are unacceptable.
|
||||
|
||||
## Completion criteria
|
||||
|
||||
@@ -56,21 +71,35 @@ You are done when ALL of these are true:
|
||||
|
||||
- `python main.py` launches a playable game with a menu.
|
||||
- All 7 enemy types exist with their specified AI behaviors and stats.
|
||||
- A* pathfinding, recursive shadowcasting FOV, BSP dungeon generation, combat
|
||||
with hit/damage/crit mechanics, XP/leveling, items/inventory/equipment, and
|
||||
save/load all work.
|
||||
- A* pathfinding, recursive shadowcasting FOV, compact BSP dungeon generation,
|
||||
combat with hit/damage/crit mechanics, XP/leveling, items/inventory/equipment,
|
||||
and save/load all work.
|
||||
- Repeated map generation proves each recorded corridor has `len(path) - 1 <= 14`,
|
||||
all its tiles are floor, its endpoints touch recorded rooms/junctions, and no
|
||||
unrecorded corridor floor was carved.
|
||||
- Initial enemy counts on regular floors are exactly 4, 6, 8, 10, 12, 14, 16,
|
||||
18, and 20.
|
||||
- Shoes of Hermes are reachable on display floor 2. Before equipping them, a held
|
||||
direction moves once; after equipping, the real input clock gives no repeat before
|
||||
180 ms, repeats every 75 ms, and stops on release, block, menu, floor change,
|
||||
death, or victory.
|
||||
- The Hunter's Bow is reachable on display floor 3. Through real `b` input it prefers
|
||||
a fleeing target over a nearer chaser, cannot shoot through walls, spends a turn,
|
||||
and can damage and kill at range.
|
||||
- How to Play clearly explains every control. Context prompts make pickup (`g`)
|
||||
and descent (`f`) discoverable, and input tests prove both work.
|
||||
and descent (`f`) discoverable, and input tests prove pickup, descent, held
|
||||
running, release-to-stop, and Bow fire work.
|
||||
- Simple generated sound effects cover core events, mute works, and unavailable
|
||||
audio never prevents launch or play.
|
||||
- The game looks polished: distinct procedural pixel-art sprites, FOV-based
|
||||
lighting, particle/juice effects, and a clean bordered UI — not flat squares.
|
||||
- The game looks polished: distinct procedural pixel-art sprites including Bow
|
||||
and winged Shoes, FOV-based lighting, particle/juice effects, and a clean
|
||||
bordered UI — not flat squares.
|
||||
- The game has a win state (kill the dragon on floor 10) and a lose state
|
||||
(player death → game over, save deleted).
|
||||
- `python tests/smoke.py` passes.
|
||||
- You can play: move, explore, fight, stand on loot and press `g`, stand on
|
||||
stairs and press `f`, level up, save, quit, relaunch, and continue
|
||||
— all without crashes.
|
||||
- You can play: move, explore, fight, loot, equip Shoes and hold to run, equip a
|
||||
Bow and shoot a fleeing enemy, stand on loot and press `g`, stand on stairs and
|
||||
press `f`, level up, save, quit, relaunch, and continue — all without crashes.
|
||||
- Every level is winnable: floors 0–8 have stairs that EXIST, are REACHABLE
|
||||
from spawn, and are VISIBLY RENDERED (the `>` staircase) so the player can
|
||||
descend with `f`; floor 9 is won by slaying the dragon, who must be
|
||||
|
||||
Reference in new issue
Block a user