- 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) |
||
|---|---|---|
| .. | ||
| app | ||
| references | ||
| tests | ||
| .gitignore | ||
| .python-version | ||
| PROJECT_PLAN.json | ||
| pyproject.toml | ||
| uv.lock | ||