Commit graph

3 commits

Author SHA1 Message Date
be75723aef Test board: BoardTester class, Build-mode dialog, README section
Moves the simulator into core/board_tester.gd (static checks, sliced runs on
fresh variables and decks), keeps tools/simulate_board.gd as a thin wrapper,
adds the Test board dialog with a Build tools button and Board menu item.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 17:49:35 -06:00
82d46b927d Add a headless board simulator tool and its test
tools/simulate_board.gd rolls a collection N times with a random (or
regex-preferred) player answering every choice card, each run on fresh
board variables, and reports completions, halt reasons, action stats,
effect/expression errors with table and entry, dead ends, unset or
failed markers in text and prompts, unreached tables, never-chosen
entries, tracked variable ranges, the longest run's busiest tables and
a sample final sheet. tests/test_simulate.gd runs it on an inline board.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 14:15:21 -06:00
8ea83947ff Add a test-window wrapper that keeps test runs in the background
tools/test_window.sh runs the game under the window class "TableTower
Test" (via a temporary override.cfg) so a KWin window rule can keep
automated screenshot runs unfocused and behind other windows, without
affecting normal playtests from the editor. Also ignore override.cfg
and agent worktrees.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 12:11:55 -06:00