mantimon-tcg/backend/app/core/models
Cal Corum 0534c57430 Add SelectPrizeAction executor and turn limit check (Issues #11, #15)
Issue #11 - SelectPrizeAction:
- Add _execute_select_prize() method to GameEngine
- Add prize card mode support to process_knockout()
- Add _award_prize_cards() helper for random/player-choice selection
- Support multi-prize selection (EX/VMAX worth 2-3 prizes)

Issue #15 - Turn Limit Check:
- Add turn limit check at start of start_turn()
- Add GameEndReason.TURN_LIMIT enum value (distinct from TIMEOUT)
- Game ends when turn limit exceeded, winner determined by score
- Equal scores result in DRAW

Added 12 new tests for prize card mode and turn limit functionality.
788 tests passing.
2026-01-26 11:04:03 -06:00
..
__init__.py Add GameState, PlayerState, Zone models and test fixtures 2026-01-24 22:55:31 -06:00
actions.py Add rules validator, win conditions checker, and coverage gap tests 2026-01-25 12:57:06 -06:00
card.py Add CardDefinition validation for required fields (Issue #2) 2026-01-26 10:28:37 -06:00
enums.py Add SelectPrizeAction executor and turn limit check (Issues #11, #15) 2026-01-26 11:04:03 -06:00
game_state.py Implement energy/tools as CardInstance + evolution stack + devolve effect 2026-01-25 23:09:40 -06:00