• Mahmoud Aglan's avatar
    feat: cascade 5 global multiplayer systems to all game endpoints · 00bcf1a0
    Mahmoud Aglan authored
    - domino-match.php: add can_player_queue anti-abuse, last_activity tracking,
      server-side turn timeout (30s), universal complete_match rewards,
      heartbeat + leave handlers
    - game.php (chess): add heartbeat + leave handlers, last_activity on moves,
      replace homebrew auto-close with server turn timeout (120s),
      replace inline reward logic with universal complete_match RPC
    - matchmaking.php: add can_player_queue cooldown check before queuing
    - ludo.php (old API): add last_activity on moves, complete_match on end
    - match-session.js: change ping from move-based to heartbeat action,
      handle 'abandoned' status in poll response
    - match-ui.js: add showBotReplacement and showTurnTimedOut overlays
    - engine.js: add domino endpoint mapping for match recovery
    - domino/game.js: add heartbeat (10s interval), handle _turn_timed_out,
      update endMatch to send winners array to universal rewards
    - domino/result.js: remove duplicate complete call for live games,
      use new winners-array format for bot games
    - ludo/result.js: add rewards display (coins, XP, rating change)
    - Move shared supabaseRpc helper to includes/supabase.php
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    00bcf1a0
Name
Last commit
Last update
..
audio.js Loading commit data...
bus.js Loading commit data...
canvas.js Loading commit data...
hud.js Loading commit data...
i18n.js Loading commit data...
input.js Loading commit data...
juice.js Loading commit data...
match-live.js Loading commit data...
match-session.js Loading commit data...
match-ui.js Loading commit data...
multiplayer.js Loading commit data...
native-bridge.js Loading commit data...
net.js Loading commit data...
player-panel.js Loading commit data...
realtime.js Loading commit data...
scene.js Loading commit data...
store.js Loading commit data...
theme.js Loading commit data...
tournament-session.js Loading commit data...
tween.js Loading commit data...