• Mahmoud Aglan's avatar
    fix(online): matchmaking for ludo, domino and backgammon actually matches · 1b6fe1dc
    Mahmoud Aglan authored
    Found by the gameplay pass, verified against production with throwaway
    accounts (31/31 checks):
    
    - ludo: the queue filtered and ordered on created_at, a column ludo_queue does
      not have, so no two players were ever matched; five stale rows from July to
      September were also deleted.
    - domino and ludo status/get decoded jsonb columns that already arrive as
      arrays: a PHP 8 TypeError, so the waiting player never learned of the match
      and every live poll failed.
    - all three: the zero-UUID claim placeholder was reported as a found match and
      its row deleted; failed inserts were reported as success; domino hands were
      renumbered by array_merge; complete passed p_winners as a string (the RPC
      refused it) and could pay twice. Complete now pays once, to seated players.
    - engine.js loads each game module independently, so one module failing to
      load can no longer stop the whole app from booting.
    Co-Authored-By: 's avatarClaude Opus 5.5 <noreply@anthropic.com>
    1b6fe1dc
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...
backgammon-match.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...
cron.php Loading commit data...
daily-reward.php Loading commit data...
domino-match.php Loading commit data...
domino.php Loading commit data...
friends.php Loading commit data...
game.php Loading commit data...
groups.php Loading commit data...
leaderboard.php Loading commit data...
ludo-match.php Loading commit data...
ludo.php Loading commit data...
match-chat.php Loading commit data...
match-cleanup.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-admin.php Loading commit data...
tournament-match.php Loading commit data...
tournaments.php Loading commit data...