Commit graph

15 commits

Author SHA1 Message Date
38e3819898 Roller: expand refs and variables through RollContext, save pipe results
Entry text is expanded by TextExpander with a shared RollContext; inline
reference rolls become children marked inline, pipes with save_as save the
child's export BBCode. MAX_DEPTH is 32. Steps carry BBCode text, depth and
inline/reshuffle flags. Adds tests/test_integration.gd.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 12:26:33 -06:00
f3a6964044 Merge branch 'worktree-agent-a605529cce27c4de2' into pipe-board 2026-11-08 12:15:32 -06:00
cd4e13c85a Add import/export converters: JSON, JSON Canvas, Mermaid, DOT, GraphML
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:14:56 -06:00
51f2cc9e6d Merge branch 'worktree-agent-a0e26080a92828227' into pipe-board 2026-11-08 12:14:05 -06:00
29ab755a3e Add RollContext, TextExpander and Formatter for inline references and BBCode
RollContext holds chain and persistent variables, depth and the
resolve/roll hooks for one top-level roll. TextExpander expands [[Table]],
[[Table -> var]], [[3x T]], [[1d4 T]], {var}, {@var} and {@var|Table} left to
right, wrapping inserted pieces in internal [url=table:/var:/missing:/unset:/deep:]
meta tags for hover pop-ups. Formatter closes open tags, strips tags for plain
text, exports BBCode without internal markers and filters imported tags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 12:13:25 -06:00
6a873810b0 Merge branch 'worktree-agent-a2900db2ff6409443' into pipe-board 2026-11-08 12:12:16 -06:00
438529d7a4 Merge Linux export preset 2026-11-08 12:12:03 -06:00
70dc23360f Merge branch 'worktree-agent-afc79ec9adbb5d317' into pipe-board 2026-11-08 12:12:03 -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
388759f5b6 Add weights, dice expressions, pipe options, card mode and cycle check to the model
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:11:43 -06:00
6f29e9373d Add collection storage: LibraryStore, StateStore, format version 2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-08 12:11:26 -06:00
01717a66f9 Add Linux export preset (M7)
Adds a Linux/x86_64 release preset exporting to build/linux/TableTower.x86_64
with embedded PCK, all resources included, and tests/* excluded.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-08 12:08:26 -06:00
60c2d03147 Build the pipe-board app in Godot
Tables are cards on a felt board, joined by copper pipes that carry a
roll from one table to the next. Play mode rolls with a flicker and a
bead down each pipe; Build mode edits names, results, ranges and pipes.

- core/: data model (RollTable, TableEntry, TowerBoard), sample board
  with a d100 table of 100 trinkets and a weighted d100 range table,
  and a Roller with a depth limit
- ui/: board with pan and zoom, pipe and port layers, collapsible table
  cards, result tray with earlier rolls, undo toasts, and a Collapse all
  / Expand all button
- assets/fonts/: Rokkitt and Atkinson Hyperlegible (SIL OFL)
- tests/test_roller.gd: headless checks for the model and roller

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 12:05:41 -06:00
cf1d8a6f1e Add design document
Covers roll tables, chained triggers and inline references, Card mode,
chain and persistent variables, hover details, BBCode formatting,
graph layout, import/export formats, and milestones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 11:13:57 -06:00
eab10500bc Initial Godot 4.7 project: TableTower
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 10:38:06 -06:00