mantimon-tcg/backend/tests/unit
Cal Corum 154d466ff1 Implement /game namespace event handlers (WS-005, WS-006)
Add GameNamespaceHandler with full event handling for real-time gameplay:
- handle_join: Join/rejoin games with visibility-filtered state
- handle_action: Execute actions and broadcast state to participants
- handle_resign: Process resignation and end game
- handle_disconnect: Notify opponent of disconnection
- Broadcast helpers for state, game over, and opponent status

Includes 28 unit tests covering all handler methods.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 20:40:06 -06:00
..
schemas Add Phase 4 WebSocket infrastructure (WS-001 through GS-001) 2026-01-28 22:21:20 -06:00
services Implement GameService.end_game with history archival (GS-005) 2026-01-29 20:10:27 -06:00
socketio Implement /game namespace event handlers (WS-005, WS-006) 2026-01-29 20:40:06 -06:00
__init__.py Phase 3: Collections + Decks - Services and DI architecture 2026-01-28 11:27:14 -06:00