• 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
.claude Loading commit data...
.impeccable Loading commit data...
ChessPieces Loading commit data...
Connections and docs Loading commit data...
Logo El3ab Loading commit data...
admin Loading commit data...
api Loading commit data...
app icons Loading commit data...
config Loading commit data...
docs Loading commit data...
includes Loading commit data...
ludo-playtest Loading commit data...
migrations Loading commit data...
promo Loading commit data...
public Loading commit data...
screenshots Loading commit data...
test-screenshots Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.htaccess Loading commit data...
ARCHITECTURE.md Loading commit data...
ASSET_REGISTRY.json Loading commit data...
ASSET_REGISTRY.md Loading commit data...
BUILD_ORDER.md Loading commit data...
DATABASE_REFERENCE.md Loading commit data...
DESIGN.md Loading commit data...
Dockerfile Loading commit data...
FIX_PLAN.md Loading commit data...
HANDOVER.md Loading commit data...
MULTIPLAYER_RULES.md Loading commit data...
PLAN.md Loading commit data...
PRODUCT.md Loading commit data...
ROADMAP.md Loading commit data...
Stockfishbotsapi.txt Loading commit data...
WTF.md Loading commit data...
backgammon-test.mjs Loading commit data...
bell.png Loading commit data...
captain-definition Loading commit data...
chess-browser-test.mjs Loading commit data...
chess-multiplayer-test.mjs Loading commit data...
chess-sync-test.mjs Loading commit data...
domino-test.mjs Loading commit data...
index.php Loading commit data...
logof.png Loading commit data...
manifest.json Loading commit data...
package-lock.json Loading commit data...
package.json Loading commit data...
privacy-policy.php Loading commit data...
qr-code.png Loading commit data...
terms.php Loading commit data...
test-tournament-swiss.mjs Loading commit data...
test-tournament-ui.mjs Loading commit data...