• Mahmoud Aglan's avatar
    feat(ludo): humanized bots, multiplayer profiles, opponent popup, 30 game-feel improvements · f0ab8811
    Mahmoud Aglan authored
    BOT HUMANIZATION:
    - Think delay before rolling: 0.8-2s (random, mimics decision)
    - Decide delay before picking piece: 0.5-1.5s
    - Step-by-step animation for bot moves too (not instant)
    - Bots occasionally send emotes on exciting events (captures)
    - Random emotes: 😂💪🎉😎
    
    MULTIPLAYER PROFILE HOOK:
    - In live mode, fetches real opponent profiles
    - Player panels show actual names (not 'Bot X')
    - Tap opponent panel → popup with avatar, name, level
    - Add friend button in popup (sends request via mp.addFriendFromGame)
    - Close button, outside-click-to-dismiss
    - Connection dot + emote sync already wired from previous commit
    
    GAME FEEL:
    - Bot turns feel human (total 2-4s per turn vs instant)
    - Piece hop animation plays for bot moves too
    - Capture shake effect on bot captures
    - Bot emote floating animation appears above board
    - Golden glow ring on selectable pieces (multiple valid moves)
    - Tap-to-select piece interaction always required
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    f0ab8811
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...