boardgameio/boardgame.io

playerView do not get the correct playerID after switch player with debugging panel in multiplayer

ThePeiLin opened this issue · 0 comments

here's a simple player view function

const playerView =(players, playerID)=>{
    console.log("cur playerID",playerID,typeof playerID);
    return players;
}

an here is its output

when didn't choose one player
image

choose player 0
image

excute a move
image