From 764811b85820e903efb5b60a62e7c22d5cd60fc7 Mon Sep 17 00:00:00 2001 From: RobinFiredrake Date: Tue, 10 Nov 2026 21:27:39 -0600 Subject: [PATCH] =?UTF-8?q?Docs:=20book-tables=20status,=20history=20?= =?UTF-8?q?=C2=A712,=20size-audit=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- docs/DESIGN.md | 16 ++++++++++++++-- docs/HISTORY.md | 13 +++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/docs/DESIGN.md b/docs/DESIGN.md index ef9145a..6ea28ce 100644 --- a/docs/DESIGN.md +++ b/docs/DESIGN.md @@ -42,6 +42,14 @@ Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminol selection box in Play and Build; panning is middle-drag or Space+drag. - **Audits done:** the seven files over 600 lines were split into helpers; tests share `TestBase`. - **The user is playtesting.** Expect more bug reports; fix them first. +- **Branch `book-tables` (not merged yet):** four features for printed-book procedures, found by + building The Perilous Void's world generation: **Scales** (ordered steps that move up/down), + **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. ## 4. Open items **Waiting on the user** @@ -57,8 +65,12 @@ Card, Result, Change, Reset, Dice wording rules: `docs/HISTORY.md` §6 "Terminol - `export_presets.cfg` has the user's uncommitted edits (a Windows preset). Its `include_filter` is empty, so Windows builds lack `help/*.txt` and `templates/*.json` (the Linux preset has them). Tell the user rather than editing their file. -- Still over ~450 lines: inspector_card (591), roll_table (569), expr (544), main_cli, board_tester - (505), builder, roller, tower_board, group_card. Split when next touched. +- Over ~400 lines: inspector_card (593), board_tester (505), main_cli, builder (499), expr (520), + roller, tower_board, group_card, main_rolling (417), describe (408), inspector (407). A size + audit is due. (roll_table was split: RollTableIO.) +- Small ideas from the Perilous Void spread: an empty list shows blank in a sheet (no "none" + default); a value change that should apply when a later value is rolled (Shattered lowers + atmosphere after Gas/Life were already decided) has no clean form. - Known gaps: ARCHITECTURE.md §7. ## 5. Working on it diff --git a/docs/HISTORY.md b/docs/HISTORY.md index 7d51fd3..b3fd9ee 100644 --- a/docs/HISTORY.md +++ b/docs/HISTORY.md @@ -185,3 +185,16 @@ export template download approved. left-drag now selects in Play too. 28. **Audits.** Seven 600+-line files split by parallel agents; tests share `TestBase`. Two computer crashes mid-run; agents were resumed from their worktrees. + +## 12. Book tables (2026-11-10, branch `book-tables`) +The user's aim, stated while doing this: Table Tarot should handle any random roll table or oracle +procedure it reasonably can, from any tabletop RPG book. Building The Perilous Void's world +generation found four gaps; all four were built: +29. **Scales** (`var_type: "scale"`, `steps`): values stored as step names, read as step numbers in + rules; += / -= move steps; toward(); conditions like "Atmosphere is at least Thin". +30. **Columns** (multi-column tables): `columns`, `column_rolls` (row / each), `cells`; per-column + save and "only if"; per-column highlights on the card. +31. **Thread dice** ("Roll it with 3d10+70 instead") and **thread rerolls** ("Roll again if it + comes up: 96–00"). Answers the open reroll question for threads back into a card. +32. Engine by the main session; UI by three parallel worktree agents (threads, columns, scales). +