feat: add full Dominoes game — tournament rules, bot AI, multiplayer
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:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
api/domino.php
0 → 100644
This diff is collapsed.
pages/domino-game.php
0 → 100644
pages/domino-live.php
0 → 100644
pages/domino-matchmaking.php
0 → 100644
pages/domino.php
0 → 100644
public/css/domino.css
0 → 100644
This diff is collapsed.
public/js/domino-bot.js
0 → 100644
public/js/domino-game.js
0 → 100644
This diff is collapsed.
public/js/domino-live.js
0 → 100644
This diff is collapsed.
public/js/domino-ui.js
0 → 100644
This diff is collapsed.
Please register or sign in to comment