• Mahmoud Aglan's avatar
    fix: chess pieces now ACTUALLY animate — call board.animateMove() before setPosition · 1401d21f
    Mahmoud Aglan authored
    The animateMove method existed on the board but was never called.
    Game scene was still doing board.setPosition() instantly.
    
    Fixed:
    - Player moves: animateMove(from, to) → piece slides 200ms → then setPosition
    - Bot moves: same — piece slides smoothly before board updates
    - Initial position: stays instant (correct — no animation needed on load)
    
    The animation method uses requestAnimationFrame to interpolate piece
    position linearly from source square to destination over 200ms.
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    1401d21f
Name
Last commit
Last update
..
auth Loading commit data...
chess Loading commit data...
domino Loading commit data...
ludo Loading commit data...
org Loading commit data...
play Loading commit data...
profile Loading commit data...
puzzles Loading commit data...
rank Loading commit data...
rewards Loading commit data...
shop Loading commit data...
social Loading commit data...