• Mahmoud Aglan's avatar
    fix: Ludo local-multi rolls correct player + display opponent profile in live · 41f869f8
    Mahmoud Aglan authored
    Critical bug: handleRoll used myPlayerIndex (always 0) instead of
    game.currentPlayer, so in local-multi the dice always moved Red's
    pieces regardless of whose turn it was.
    
    Fixes:
    - handleRoll uses game.currentPlayer for dice animation, getValidMoves,
      and getBotMove (no longer hardcoded to player 0)
    - updatePanels checks game.currentPlayer.finished (not myPlayerIndex)
    - Turn status badge shows player name + color in local-multi mode
    - Live multiplayer: fetch and display opponent avatar (not just name)
    - Update PLAYER_NAMES array when opponent profile loads
    - All juice.burst/fireworkBurst use boardSlot for correct colors
    Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
    41f869f8
Name
Last commit
Last update
..
auth Loading commit data...
backgammon 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...
tournaments Loading commit data...