From 66c9df1f2d1dadf4ad1f8afd381e79b58eebd12c Mon Sep 17 00:00:00 2001 From: RobinFiredrake Date: Wed, 11 Nov 2026 09:17:28 -0600 Subject: [PATCH] DESIGN.md: Perilous Void Stage II built; the new book-table features Co-Authored-By: Claude Opus 5.5 --- docs/DESIGN.md | 22 ++++++++++++++++------ tests/test_book_collect.gd.uid | 1 + 2 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 tests/test_book_collect.gd.uid diff --git a/docs/DESIGN.md b/docs/DESIGN.md index 7270a0c..c079341 100644 --- a/docs/DESIGN.md +++ b/docs/DESIGN.md @@ -47,10 +47,19 @@ Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminol **Columns** (multi-column tables, one roll per row or per column), thread **"roll with … instead"** and thread **"roll again if it comes up"**. Spec: LOGIC.md §3e, §3f, §5.4; modules: ARCHITECTURE §3c. The goal behind it: handle any book's random tables and oracles (HISTORY §12). -- **Spread built with them:** `perilous-void-stage-1` in the user's collections (72 cards, Stage I of - the book's world generation). Generator: `TableTower-private/perilous_void/build_world_gen.py`. - Stage II (pp. 62–78: surface features, resource details, lifeforms) is not built yet; the user - hasn't opened the spread in the app yet (only headless runs and one screenshot). +- **Spread built with them:** `perilous-void-stage-1` in the user's collections, now "Perilous Void · + World Scan & Survey" (152 cards): Stage I (Initial Scan) and, below it, Stage II (Data Analysis, + pp. 50–51; tables pp. 64–85: surface features, resource details, 3–5 signature lifeforms with + adaptations, nonhuman species basics; resource specifics, simple/microbial life and hazards as + hand-rolled cards). Society Creation (p. 86) is out of scope. Generator: + `TableTower-private/perilous_void/build_world_gen.py` + `stage2.py`/`stage2_data.py`; install + with `merge_layout.py` so the user's card positions survive. The user hand-tested Stage I + (works); Stage II is untested by hand. A different, undocumented file + `perilous-void-world-generation.json` (137 cards, 2026-11-10) also sits in collections; left alone. +- **Stage II engine features (branch `stage2-features`, not merged yet):** columns read as one + phrase (`column_join`), "roll twice and combine" results (`TableEntry.repeat`), results saved + into a list value add an item (`RollContext.save_result`), a pick with one option answers + itself. Spec: LOGIC.md §2, §3e, §5.1. Suite `test_book_collect`. - **2026-11-11 (merged to `main`, pushed):** - Theme fonts: 13 bundled families (OFL; Special Elite Apache 2.0) with Text/Title font pickers @@ -67,7 +76,8 @@ Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminol - **Hand testing:** the user tests by hand as they go but hasn't done a full pass; a comprehensive playtest with a checklist is planned (they'll do it later; offer a checklist when asked). -**Next, likely:** the user's feedback on the Perilous Void spread; Stage II of it; a size audit (§4); +**Next, likely:** the user's hand test of Stage II and the new column options (one phrase, roll +twice and combine); merging `stage2-features`; a size audit (§4); a hand-testing checklist; untested-by-hand items: Deck mode fade timing and group marks. ## 4. Open items @@ -93,7 +103,7 @@ a hand-testing checklist; untested-by-hand items: Deck mode fade timing and grou ## 5. Working on it - **Godot:** `~/apps/Godot_v4.7.2-stable_linux.x86_64`. New `class_name` files need `godot --headless --path . --import` (the test runner does this). -- **Tests:** `tools/run_tests.sh [filter]`: 41 suites in parallel, ~35 s. One line per suite; a +- **Tests:** `tools/run_tests.sh [filter]`: 43 suites in parallel, ~35 s. One line per suite; a failing suite prints 8 lines; a compile error shared by many suites prints once. Suites extend `TestBase` (`tests/testbase.gd`, named so the `test_*.gd` glob skips it): `start_main()`, `require_sample()`, `_check`, `_eq`, `_frames`, `finish()`. diff --git a/tests/test_book_collect.gd.uid b/tests/test_book_collect.gd.uid new file mode 100644 index 0000000..bfd7168 --- /dev/null +++ b/tests/test_book_collect.gd.uid @@ -0,0 +1 @@ +uid://cpr1mrh4oeq23