mantimon-tcg/backend/tests/unit/socketio
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
..
__init__.py Implement /game namespace event handlers (WS-005, WS-006) 2026-01-29 20:40:06 -06:00
test_game_namespace.py Implement /game namespace event handlers (WS-005, WS-006) 2026-01-29 20:40:06 -06:00