- Implement TurnManager class for turn/phase state machine - Phase transitions: SETUP -> DRAW -> MAIN -> ATTACK -> END - Turn start: reset counters, draw card, flip energy (Pokemon Pocket style) - Turn end: apply status damage (poison/burn), check recovery (sleep/burn flip) - Between-turn paralysis auto-removal - Knockout processing with scoring and forced action setup - Integration with win condition checking (deck-out, no Pokemon, turn limit) - 60 tests covering all functionality - 644 total core tests passing at 97% coverage Completes HIGH-007 and TEST-011 from PROJECT_PLAN.json Week 4 (Game Logic) now complete - ready for Week 5 (Engine & Polish) |
||
|---|---|---|
| .. | ||
| test_effects | ||
| test_models | ||
| __init__.py | ||
| conftest.py | ||
| test_config.py | ||
| test_coverage_gaps.py | ||
| test_rng.py | ||
| test_rules_validator.py | ||
| test_turn_manager.py | ||
| test_win_conditions.py | ||