From c93b6931371ee8838447e40748eaefbc3b9662a0 Mon Sep 17 00:00:00 2001 From: Quintine <15965533+Quintine@users.noreply.github.com> Date: Tue, 27 Oct 2026 01:06:08 +1100 Subject: [PATCH] Connect Truthtrance promises to printed Hajr and Ghola plays --- components/truthtrance.tsx | 4 +- components/turn-action-fields.tsx | 20 +- components/turn-action-promises.tsx | 57 +++- docs/CURRENT_STATUS.md | 37 +++ docs/IMPLEMENTATION_STATUS.md | 35 +++ docs/TRUTHTRANCE_TURN_ACTIONS.md | 70 +++++ game/engine.ts | 350 ++++++++++++++++----- game/movement-promise-search.ts | 8 +- game/printed-card-play.ts | 72 +++++ game/reference.ts | 16 +- game/truthtrance.ts | 1 + game/turn-action-promises.ts | 76 ++++- tests/fixture-truth-turn-card-play.ts | 186 +++++++++++ tests/printed-card-play.test.ts | 74 +++++ tests/truth-turn-action-controls.test.tsx | 128 +++++++- tests/truth-turn-card-play-runtime.test.ts | 328 +++++++++++++++++++ tests/turn-action-promises.test.ts | 196 ++++++++++++ 17 files changed, 1554 insertions(+), 104 deletions(-) create mode 100644 game/printed-card-play.ts create mode 100644 tests/fixture-truth-turn-card-play.ts create mode 100644 tests/printed-card-play.test.ts create mode 100644 tests/truth-turn-card-play-runtime.test.ts diff --git a/components/truthtrance.tsx b/components/truthtrance.tsx index 3aab2551..c3da6deb 100644 --- a/components/truthtrance.tsx +++ b/components/truthtrance.tsx @@ -581,7 +581,7 @@ export function Truthtrance({ - +