Commit Graph

8 Commits

Author SHA1 Message Date
74de333006 Feat: Add temporary 2x brightness highlight for last move 2025-12-23 22:02:04 +11:00
d1bcf36887 Feat: Add 5-second delay and winning move highlight for game over 2025-12-23 20:34:50 +11:00
79ffb771a8 Enhance UI with ghost piece and board glow effects 2025-12-21 20:41:19 +11:00
481de45276 Merge turn indicator with player indicator at top
- Added ID to turn label for easier updates
- Updated multiplayer.js to use turnLabel ID
- Reset turn label when switching modes or resetting game
- Improved UX by keeping player/turn info together
2025-12-21 17:52:12 +11:00
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