Structured User Story #21 - Action Sounds

USE CASE #21

An action, such as a deck shuffling or cards being delt, is going on, and the gui plays a sound representing this action.

Preconditions

The client and server programs are running and the user is connected to a game that has already started.
The sound file must exist.

Success End Condition

An action occurs on the server-side, such as the flop being delt, and it sends that change to the gui's which reflect that action by playing a particular sound.

Fail End Condition

If the sound file does not exist for some reason, or is not formatted properly, then the sound will not play.
Also if the user is running sound applications in the background such as iTunes, the sound may not come through properly.
If the server is clogged for some reason, then the sound file may not play back soon enough, if at all. (network congestion)

Trigger

An action such as flop being delt, cards being delt to players, turn delt, river delt, or deck being shuffled occurs on the server.

Description An action occurs on the server.
A signal is sent to the guis to indicate that an action occured.
The gui's play the appropriate sound.