Structured User Story #11 - Everyone checks, next round or end game

USE CASE #11

During a round, all players choose not to raise or bet, so they check, and if all check, the round ends with no win or loss, or if on the last round, the game ends and dispenses the pot to the winner.

Preconditions

The server must be running and players are connected with a game started and no bets placed.

Success End Condition

No bets will be placed and everyone checks without losing or wining any money (if this is not during the last round of betting). Otherwise, whats in the pot goes to the player with the best hand and the hand ends.

Fail End Condition

If all players happen to check and the last player places a bet, thats makes the rest of the players have to bet. (This works for any player, not just the last one)

Trigger

When the first player checks and the rest of the players continue to check until the round or game ends.

Description With the server running and players connected, the first player checks
The rest of the players continue to check.
Once the last player checks, the round is over and another card is dealt.
If the last player checks and it is the last round in the game, the game is over and the pot is distributed to the winning player.