Some checks failed
Deploy to Production / test (push) Failing after 31s
- Add localFen/localFenRef in ChessBoard for optimistic piece placement, preventing snap-back while awaiting server confirmation - Sync localFen from server state on each chess.fen update - Guard GAME_STATE handler in useGameRoom from overwriting a finished roomStatus, fixing the race where GAME_ENDED (pub/sub) arrives before GAME_STATE (direct ws.send) - Reset confirmForfeit immediately on forfeit dispatch for instant UI feedback Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>