• Mahmoud Aglan's avatar
    fix: multiplayer sync — Ludo turn passing + Chess check/SFX for opponent moves · 93eeb5c8
    Mahmoud Aglan authored
    Ludo multiplayer:
    - Sync state to server on EVERY turn change (including no-valid-moves pass)
    - Use turn_count to detect stale vs fresh server state (prevents re-processing)
    - Non-host players poll at 1.5s and receive dice rolls + board state
    - Bot turns run only on host, results synced to server for other players
    - Fix double-encoding of game_state/positions in API
    - Play notification sound when turn returns to player
    
    Chess multiplayer:
    - Detect move type (check/capture/castle) from FEN diff on received moves
    - Show check highlight (red king square) for opponent's checking moves
    - Play correct SFX (check/capture/castle) instead of generic 'move'
    - Show last-move highlight squares for received moves
    - Skip polling during recovery to prevent SFX burst on reconnect
    - Track captured pieces from opponent's moves
    - Sync move list from server history
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    93eeb5c8
Name
Last commit
Last update
.claude Loading commit data...
ChessPieces Loading commit data...
Connections and docs Loading commit data...
Logo El3ab Loading commit data...
admin Loading commit data...
api Loading commit data...
app icons Loading commit data...
config Loading commit data...
docs Loading commit data...
includes Loading commit data...
ludo-playtest Loading commit data...
public Loading commit data...
screenshots Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
ARCHITECTURE.md Loading commit data...
ASSET_REGISTRY.json Loading commit data...
ASSET_REGISTRY.md Loading commit data...
BUILD_ORDER.md Loading commit data...
DATABASE_REFERENCE.md Loading commit data...
DESIGN.md Loading commit data...
Dockerfile Loading commit data...
PLAN.md Loading commit data...
Stockfishbotsapi.txt Loading commit data...
bell.png Loading commit data...
captain-definition Loading commit data...
index.php Loading commit data...