• Mahmoud Aglan's avatar
    feat: add full Dominoes game — tournament rules, bot AI, multiplayer · 1eb67859
    Mahmoud Aglan authored
    Complete dominoes integration with formal tournament rules:
    - Double-six set (28 tiles), spinner rule (first double = 4-way branch)
    - 2-player Draw Game (draw from boneyard when blocked, first to 100)
    - 4-player Teams Block Game (pass when blocked, first to 150)
    - All modes: local pass-and-play, VS bot (easy/medium/hard), online matchmaking, private rooms
    - Full server-side validation (api/domino.php — play/draw/pass/round/match lifecycle)
    - Bot AI with 3 difficulty levels (random, greedy-pip, strategic with opponent tracking)
    - Supabase Realtime multiplayer via WebSocket
    - CSS pip rendering, board layout with 4 directions, responsive tiles
    - Database: domino_matches, domino_queue, RLS policies, game_plugins entry
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    1eb67859
domino-constants.js 5.59 KB