It sounds pretty much like the quote you gave is the correct explanation.cervofulgure wrote: ↑03 February 2022, 20:29 It goes straight to this game state from setup
setup -> newRound -> playerTurn -> etc ->
here is the pseudcode:** UPDATE **Code: Select all
function setup: do some stuff go to next state newRound function stNewRound (game state): pick some cards and move to other location tell all players so we can animate cards in the ui self::notifyAllPlayers goto player turn: $this->gamestate->nextState() function stNextPlayer (activeplayer state): If first player is active player: do some stuff and notify all players self::notifyAllPlayers goto net state, etc
Notification JS callbacks do work if they are called within a player action during the an activeplayer state.
So my question is: How the hell can we show players things moving around without being in an activeplayer state?
Notifications sent when starting the game are not received and handled by your js code, only the logs are displayed.