Closed kingofzeal closed 8 years ago
Note: only an issue if game.started
is true. Prior to the game being started, players should always join with an empty hand (which is then given at game start)
To address both this and #15, do not allow players to join mid-game. If they do, add them to a queue, which gets dumped to the main game list when the game ends. If a player quits, they are removed from both lists.
Related to #15. If hands are persisted across quit/rejoin, then only new player joining mid-stream should be given an initial 7-card hand.
If we do not persist the hand across quit/join, then any player joining should be always given a new set of cards on join.