When I exit the game and rejoin that same game my chosen cards should be removed
Current Behavior
When I reload the game page when I've already submitted cards those cards are not removed from that round and are shown to another client each round again.
Possible Solution
It's possible the problem lies in the array of played cards for each round in the front-end. But it's also possible that the socket server sends those cards with each request.
Steps to Reproduce (for bugs)
Open a game in 3 or more clients.
Choose and play cards in a non-Czar client
Refresh or exit and rejoin a game
Choose and play again, but now in all clients
Spot card chosen before the reload.
Context
The Czar can choose a combination that is not played by any player that round. The player who chose the combination in a previous round wins without choosing that combination.
Your Environment
Version used: NA
Environment name and version (e.g. Chrome 39, node.js 5.4): All
Operating System and version (desktop or mobile): All
Expected Behavior
When I exit the game and rejoin that same game my chosen cards should be removed
Current Behavior
When I reload the game page when I've already submitted cards those cards are not removed from that round and are shown to another client each round again.
Possible Solution
It's possible the problem lies in the array of played cards for each round in the front-end. But it's also possible that the socket server sends those cards with each request.
Steps to Reproduce (for bugs)
Context
The Czar can choose a combination that is not played by any player that round. The player who chose the combination in a previous round wins without choosing that combination.
Your Environment