• Mahmoud Aglan's avatar
    feat: implement full backgammon game — rules engine, bot AI, canvas renderer, multiplayer · 6d2431c7
    Mahmoud Aglan authored
    - Port backgammonjs-master rules to ES modules (standard, gul bara, tapa variants)
    - 3-tier bot AI (easy/medium/hard) with positional evaluation
    - Doubling cube with Crawford rule for match play
    - Canvas board renderer with piece stacking, hit/bear-off animations
    - Room scene with variant/length/difficulty selection
    - Full multiplayer via backgammon-match.php (queue, move, heartbeat, leave)
    - Realtime subscription for backgammon_matches table
    - Emote panel + phrase system (reuses Ludo pattern)
    - 7 new SFX slots in branding admin (dice, move, hit, bear, double, win)
    - Match system (first-to-N, gammon/backgammon scoring multipliers)
    - Wired into engine.js, play table, queue routing, match-session recovery
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    6d2431c7