mantimon-tcg/backend/app/core/models
Cal Corum 725c8ccc5c Add GameState, PlayerState, Zone models and test fixtures
Core game state models:
- Zone: Card collection with deck operations (draw, shuffle, peek, etc.)
- PlayerState: All player zones, score, and per-turn action flags
- GameState: Complete game state with card registry, turn tracking, win conditions

Test fixtures (conftest.py):
- Sample card definitions: Pokemon (Pikachu, Raichu, Charizard, EX, V, VMAX)
- Trainer cards: Item (Potion), Supporter (Professor Oak), Stadium, Tool
- Energy cards: Basic and special energy
- Pre-configured game states: empty, mid-game, near-win scenarios
- Factory fixtures for CardInstance and SeededRandom

Tests: 55 new tests for game state models (259 total passing)

Note: GameState imported directly from game_state module to avoid
circular imports with config module.
2026-01-24 22:55:31 -06:00
..
__init__.py Add GameState, PlayerState, Zone models and test fixtures 2026-01-24 22:55:31 -06:00
actions.py Add card/action models with stage/variant separation 2026-01-24 22:35:31 -06:00
card.py Add card/action models with stage/variant separation 2026-01-24 22:35:31 -06:00
enums.py Add card/action models with stage/variant separation 2026-01-24 22:35:31 -06:00
game_state.py Add GameState, PlayerState, Zone models and test fixtures 2026-01-24 22:55:31 -06:00