• Mahmoud Aglan's avatar
    fix(backgammon): forced moves, variant rules, online sync, bot payouts · a855527a
    Mahmoud Aglan authored
    Rules: move generation is rewritten so both dice must be played when they
    can be, otherwise the larger. 31 used a long-backgammon setup and allowed
    pins; it now starts like mahbousa, a single checker closes a point and the
    winner scores the loser's remaining checkers (lengths 1/11/21/31).
    Mahbousa could freeze forever when both starting stacks were pinned; the
    plakoto mother rule now settles it. Turning the cube off lasted one game,
    taking the bot's double froze the game, and a player on black saw the
    board upside down with a swapped score.
    
    Online: a poll could wipe unsent moves, the cube never synced, 'opponent'
    was sent as the winner id, and a refreshed tab rejoined as white. Online
    is now a numbered move log plus a snapshot; the other side replays the log
    with animation and checks it matches. Timers stop when the scene closes.
    
    Bot games get a server match row (action start) and complete pays the
    creator once; a row under 90 s old closes with no payout.
    
    Look: flat teal board, red and white points, checkers on a lip, flat dice
    and cube. backgammon-rules 659/659 (brute-force cross-check); browser
    suite 122 + online 39/39 + layout 20/20, zero console errors.
    Co-Authored-By: 's avatarClaude Opus 5.5 <noreply@anthropic.com>
    a855527a
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...