• Mahmoud Aglan's avatar
    feat: multiplayer dominoes — fix invite/accept flow + add domino to challenge menus · 25a80cf0
    Mahmoud Aglan authored
    - friends.php: create domino invites in domino_matches table (not chess matches)
    - friends.php: check-invites scans domino_matches + ludo_matches tables
    - friends.php: accept/decline route to correct game table by game_key
    - domino-match.php: merge hands on move (preserve other player's hand data)
    - game.js: host deals and syncs both hands; guest waits for deal via polling
    - game.js: new rounds in live mode dealt by host only
    - lobby.js: pass playerIndex from accept response
    - chat.js: add domino option to in-chat challenge dialog
    - friends.js: pass game_key on accept/decline calls
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    25a80cf0
domino-match.php 13.9 KB