• Mahmoud Aglan's avatar
    fix: wire match-live into Chess and Ludo — enables reconnect on refresh · 317f8d20
    Mahmoud Aglan authored
    Chess game scene:
    - Imports and calls matchLive.start(matchId, 'chess', callbacks)
    - Creates localStorage entry → browser refresh auto-resumes
    - matchLive.session.destroy() on endGame → clears recovery
    
    Ludo game scene:
    - Same pattern: matchLive.start(matchId, 'ludo', callbacks)
    - Clears session on endGame
    
    Now the flow works:
    1. Player enters live game → matchLive.start() saves to localStorage
    2. Player refreshes browser → engine boot finds recovery → verifies server → auto-rejoins
    3. Game ends normally → matchLive.session.destroy() clears localStorage
    4. Player goes to homepage after game → no recovery popup (correct)
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    317f8d20
Name
Last commit
Last update
..
auth Loading commit data...
chess Loading commit data...
domino Loading commit data...
ludo Loading commit data...
org Loading commit data...
play Loading commit data...
profile Loading commit data...
puzzles Loading commit data...
rank Loading commit data...
rewards Loading commit data...
shop Loading commit data...
social Loading commit data...