Commit Graph
2 Commits
Author SHA1 Message Date
claudeandClaude Opus 5.5 eecb4f9c07 viewFor: stop leaking the opponent's queue size during planning (DESIGN §5.3)
Remove PlayerView.opponent.queuedCount and keep queued cards in handCount, so
the opponent's view doesn't change until commit. Regression test: the view is
byte-identical before and after queuing and undoing. Found by night-review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 00:12:35 -05:00
claudeandClaude Opus 5.5 b5c90d2dc1 Night 1: game engine core and ENGINE_API.md, DESIGN v1 (#25)
Deterministic, off-chain rules engine in shared/game: createMatch, legalActions, applyAction, isOver, result, viewFor, serialisation, Ruleset as data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 04:22:10 +00:00