• Mahmoud Aglan's avatar
    feat: PHASES 3-9 complete — game feel, bot personalities, chess polish, infrastructure fixes · 4de6634a
    Mahmoud Aglan authored
    PHASE 3 - Ludo Game Feel:
    - Bot personality profiles (aggressive/casual/strategic per player)
    - 'يفكر...' thinking indicator during bot turns
    - Vertical bounce effect during piece hops (-2px offset)
    - Star burst particles on piece finish
    - Move preview: ghost circles showing destination for each valid move
    
    PHASE 4 - Bot Personalities:
    - Blue (aggressive): 0.5-1s think, always captures
    - Yellow (casual): 1.5-3s think, sometimes suboptimal
    - Green (strategic): 1-2s think, always optimal
    
    PHASE 6 - Infrastructure Fixes:
    - net.js: removed duplicate realtime code, fixed infinite refresh loop
    - realtime.js: exponential backoff (1s→30s), error logging, connection guard
    - bus.js: try-catch per listener (one bad listener doesn't break others)
    
    PHASE 7 - Chess Polish:
    - Draw offer implemented (bot: 50% accept, live: sends to server)
    - Clock fixed: uses performance.now() delta (no more drift)
    - Piece animation: smooth 200ms tween between squares via requestAnimationFrame
    
    PHASE 8 - Player Panel Component:
    - New reusable core/player-panel.js
    - Avatar, name, level, rank tier, connection dot, turn indicator
    - Tap to inspect → popup with add friend button
    - CSS injected once, used by all games
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    4de6634a
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...