Room engine breaks when only one player is left after end of game?
Closed this issue · 1 comments
zkayser commented
I ran into an issue the other day where I was running a game with two players. Both players went all in, one player of course won, and then the game engine went into an idle state (as it is expected). However, when this happened, there was no update
broadcasted over the channel (at least, this is my assumption). This caused some weirdness because the player that got knocked out should have been removed from the table, but was still there in the UI. This is bad because the backend representation and the front-end representation of state are getting out of sync. Need to figure out how to make sure that update
messages are being broadcast over the socket whenever a terminal event like this happens.
zkayser commented
[12/18] Fixed