Structured User Story #10 - Everyone folds, last person wins

USE CASE #10

Once the game has begun and Every player folds, the last player to fold wins the hand.

Preconditions

The server must be running and players are connected to a game that has already been started.

Success End Condition

With all players playing the current hand, each player decides to fold (one by one). The last player to fold becomes the winner, regaurdless of the type of cards he/she held in the hand. The current hand ends and a new one begins.

Fail End Condition

If players are not deciding to fold, then they are either continuing to raise bets or call the current bet.

Trigger

If a player's hand is not what he/she wants, they click the fold icon to sit out of the current hand in play.

Description All the players are connected to the server and are dealt a hand.
Then if they are so inclined, they may fold their hand for what ever reason.
If all but the last person folds, he/she wins the hand.
Otherwise, rounds of betting continue and cards are dealt till the end of the hand.