• Mahmoud Aglan's avatar
    fix(ludo): online boards stay in sync; rules, bots, rewards; flat board · 4ce3d90f
    Mahmoud Aglan authored
    Online: at speed a client's writes trail its own board, and a stale-row
    check read that lag as a stale row, reset the client and let it play again
    from the older board: two writers with one sequence number. The check now
    fires only with nothing in flight, every write is dropped while a resync
    is pending, and a resync takes the row's sequence. The quiet-player notice
    shows for each new silence, not once per match.
    
    Rules: in 3-4 player games the first finisher kept a turn nobody could
    take and the game stalled; three sixes is enforced and no longer carries
    into the next turn. Seats come from the match, not the room. Exactly one
    client settles a match, with real ids. Bots score their moves by
    difficulty. A leaver is announced and in a duel the one who stays wins.
    Names in the roll button are escaped.
    
    Look: flat quadrants on white, pawns on a lip, a flat tumbling die.
    tests/play/ludo.mjs 73/73 (local 4, duel, online), ludo-rules 60/60.
    Co-Authored-By: 's avatarClaude Opus 5.5 <noreply@anthropic.com>
    4ce3d90f
Name
Last commit
Last update
..
auth Loading commit data...
backgammon 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...
tournaments Loading commit data...