Repository navigation
Battle simulator: turn timing and the end of a game follow the APR and Tournament Rules - #359
Merged
Merged
Conversation
…ed Player's Rulebook and the Tournament Rules Tiebreaker game with 6 Prize cards, won by the first player with fewer left (APR; Tournament Rules 5.8.3.1). "During ..." effects end before Pokemon Checkup, "until the end of ..." ones last through it (APR E-02, E-22, E-23). Knock Outs from end-of-turn effects are resolved before Checkup (APR D). Setup is face down and revealed when the game starts (APR G). The turn cap is time being called: +3 turns, then fewer Prize cards left wins (5.8.3). On-Behalf-Of: @cheyras Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MKj6CMZ1kKCNaVjKSHgJpx
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This follows up #357. Everything that pass left on purpose was checked against the Advanced Player's Rulebook v3.4 (2025) and the Play! Pokémon Tournament Rules Handbook. The five items that break the rules now follow them. Decision:
decisions/2026/2026-10-19-battle-simulator-turn-timing-and-the-end-of-a-game-follow-the-advanced-player-s.md.time). Level, play goes on until one player is ahead (Tournament Rules 5.8.3). Only a long stalemate stays aturn limitdraw.Not changed, because they break no rule: the CPU choosing to go first, and Energy/damage-counter moves written per card.
Verification
@deckpal/sim: 3,242 tests pass. New rule tests inrules-timingandrules-checklist; each new behavioural test fails with its fix disabled.time(40) or a tiebreaker game (6).deckpal-api test:deck261,@deckpal/agent-tools398, andtsc --noEmitacross workspaces are clean.determinism.test.tsre-pinned: 18 of 40 seeded games change, mostly because setup events are now ordered by the face-down reveal.🤖 Generated with Claude Code
https://claude.ai/code/session_01MKj6CMZ1kKCNaVjKSHgJpx