From e88f8713858ff86ee9a2934b5ee050008a33fa27 Mon Sep 17 00:00:00 2001 From: Quintine <15965533+Quintine@users.noreply.github.com> Date: Tue, 27 Oct 2026 02:25:46 +1100 Subject: [PATCH] Bind Truthtrance card plays to original Storm and spice windows --- components/truthtrance.tsx | 3 +- components/turn-action-fields.tsx | 41 +++ components/turn-action-promises.tsx | 67 +++- docs/CURRENT_STATUS.md | 42 ++- docs/IMPLEMENTATION_STATUS.md | 42 +++ docs/RULE_DECISIONS.md | 14 + docs/TRUTHTRANCE_TURN_ACTIONS.md | 69 ++++ game/bots.ts | 1 + game/card-availability.ts | 6 +- game/engine.ts | 166 ++++++++- game/reference.ts | 12 +- game/truthtrance.ts | 9 + game/turn-action-promises.ts | 80 ++++- game/window-card-play.ts | 48 +++ tests/card-availability.test.ts | 8 + tests/fixture-truth-turn-window-card.ts | 204 +++++++++++ tests/truth-turn-action-controls.test.tsx | 173 +++++++++- tests/truth-turn-window-card-runtime.test.ts | 336 +++++++++++++++++++ tests/turn-action-promises.test.ts | 145 ++++++++ tests/window-card-play.test.ts | 79 +++++ 20 files changed, 1519 insertions(+), 26 deletions(-) create mode 100644 game/window-card-play.ts create mode 100644 tests/fixture-truth-turn-window-card.ts create mode 100644 tests/truth-turn-window-card-runtime.test.ts create mode 100644 tests/window-card-play.test.ts diff --git a/components/truthtrance.tsx b/components/truthtrance.tsx index 0634f535..ad10bf1c 100644 --- a/components/truthtrance.tsx +++ b/components/truthtrance.tsx @@ -581,7 +581,7 @@ export function Truthtrance({ - +