feat(ludo): piece selection, step-by-step animation, 2-4 player matchmaking, branding admin
PIECE SELECTION:
- Player always taps which piece to move (golden glow highlight on valid pieces)
- Canvas click detection: finds nearest highlighted piece within tap radius
- Even with 1 valid move: brief highlight before auto-execute (confirms to player)
STEP-BY-STEP ANIMATION:
- Pieces hop one square at a time (120ms per hop) instead of teleporting
- Audio cue on each step
- Capture/finish effects play AFTER animation completes
- Confetti on capture, star burst on finish
MATCHMAKING (2-4 players):
- Searches for up to 3 waiting opponents
- 2 humans found → 2 humans + 2 bots
- 3 humans found → 3 humans + 1 bot
- 4 humans found → 4 humans, no bots
- All matched opponents' queue entries updated
- 30s timeout handled client-side (queue scene already has timer)
BRANDING ADMIN:
- New 'Ludo Board Colors' section with 9 color controls:
Red/Blue/Green/Yellow zones, board bg, path, safe star, piece border, grid lines
Co-Authored-By:
Claude Opus 4.6 <noreply@anthropic.com>
Showing
31.7 KB
25.7 KB