• Mahmoud Aglan's avatar
    feat: human vs human multiplayer with Supabase Realtime · a3c3fae0
    Mahmoud Aglan authored
    - Matchmaking API: queue players by rating/time control, auto-pair
    - Multiplayer game API: move validation, resign, draw offer/accept/decline, timeout, abort
    - Supabase Realtime WebSocket client: subscribe to match row changes for live game sync
    - Matchmaking page: animated search with wait timer, rating range expansion
    - Live game page: full board with clocks, move list, resign/draw/abort controls
    - Play page: prominent "ضد لاعب حقيقي" multiplayer button with time control selector
    - DB: REPLICA IDENTITY FULL on matches table, realtime tenant fixed
    - Routes: /matchmaking, /game-live?id=UUID
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    a3c3fae0
realtime.js 5.15 KB