• Mahmoud Aglan's avatar
    fix: chess resign/draw sync — opponent now sees both actions · 7372dc29
    Mahmoud Aglan authored
    - match-live.js: always forward poll data to game (not only on move_count change)
      This was the root cause — resign/draw don't increment move_count, so the
      game never processed the status change or game_state update
    - game.php: all match operations now use supabaseService() to bypass RLS
      (handleGameMove, handleResign, handleComplete all failed silently with user token)
    - Add dedicated 'draw' action in game.php that atomically marks match completed
    - Draw acceptance now calls action:'draw' instead of writing game_state only
    - handleResign validates match isn't already completed (prevents double-resign)
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    7372dc29
Name
Last commit
Last update
..
achievements.php Loading commit data...
activity.php Loading commit data...
ads.php Loading commit data...
analysis.php Loading commit data...
auth.php Loading commit data...
avatar.php Loading commit data...
battlepass.php Loading commit data...
bots.php Loading commit data...
branding.php Loading commit data...
challenges.php Loading commit data...
chat.php Loading commit data...
config.php Loading commit data...
daily-reward.php Loading commit data...
domino.php Loading commit data...
friends.php Loading commit data...
game.php Loading commit data...
leaderboard.php Loading commit data...
ludo-match.php Loading commit data...
ludo.php Loading commit data...
match-history.php Loading commit data...
matchmaking.php Loading commit data...
multiplayer.php Loading commit data...
notifications.php Loading commit data...
org-apply.php Loading commit data...
orgs.php Loading commit data...
profile.php Loading commit data...
puzzles.php Loading commit data...
ratings.php Loading commit data...
shop.php Loading commit data...
swiss.php Loading commit data...
theme.php Loading commit data...
tournament-match.php Loading commit data...
tournaments.php Loading commit data...