• Mahmoud Aglan's avatar
    feat(ludo): piece selection, step-by-step animation, 2-4 player matchmaking, branding admin · 875a302e
    Mahmoud Aglan authored
    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: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    875a302e
Name
Last commit
Last update
.claude Loading commit data...
Connections and docs Loading commit data...
admin Loading commit data...
api Loading commit data...
config Loading commit data...
docs Loading commit data...
includes Loading commit data...
public Loading commit data...
screenshots 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...
PLAN.md Loading commit data...
Stockfishbotsapi.txt Loading commit data...
captain-definition Loading commit data...
index.php Loading commit data...