Commit Graph

4 Commits

Author SHA1 Message Date
bc76e7aab1 FIX: Prevent multiplayer initialization before game is ready
- Add polling mechanism to wait for window.game initialization
- Disable multiplayer button until game is fully initialized
- Enable button in DOMContentLoaded after game creation
- Prevents 'Game instance not found' error on production

This fixes the critical issue where clicking Multiplayer too quickly
would fail because window.game wasn't ready yet.
2025-12-14 12:07:13 +11:00
b57611f0c4 Fix variable scope: Ensure global access to game and multiplayer client 2025-12-13 20:34:07 +11:00
9465409b2f Add complete multiplayer system with real-time gameplay, challenge system, and 50x50 board option 2025-12-13 14:59:44 +11:00
57f350274e Initial commit: Connect-5 premium Gomoku game with multiple board sizes 2025-12-13 13:47:41 +11:00