• Mahmoud Aglan's avatar
    fix: comprehensive chess multiplayer sync overhaul · ed1fc3ce
    Mahmoud Aglan authored
    - Eliminate double polling: removed game.js own poller, use match-session's
      single 2s poll via handleLivePollData callback (halves network requests)
    - Send last_move (from/to/san/promotion) in game_state so opponent gets
      exact move data — fixes castling, en passant, promotion animations
    - Opponent moves now animate (piece slides) instead of board snap
    - Capture particles now fire on opponent's captures too
    - Castling sound+haptic plays for opponent's castles
    - Draw flow: sender sees "sent" confirmation, receiver sees accept/deny
      dialog (30s timeout), both sides see result via game_state merge
    - Emote dedup: timestamp tracking prevents repeated display on same emote
    - Emotes use correct emoji lookup (getEmojiForKey) instead of 3 hardcoded
    - Polling runs even during player's turn (emotes + draws must arrive anytime)
    - Game end detection covers draw result ('draw' + 'aborted')
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    ed1fc3ce
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...
promo 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...
package-lock.json Loading commit data...
package.json Loading commit data...