This is mostly client work, but the backend should be able to dispatch a specific sound event to the client to trigger some kind of sound if necessary, similar to how the backend can dispatch an event to start the timer, deal the cards, etc...
There should be "game options" in the future which will allow for any of these sounds to be disabled/enabled, possibly even allow for the volume of each sound to be customized.
Acceptance Criteria:
This list may not be exhaustive, however, we currently need sounds for:
When buttons are clicked, such as fold, check, call, raise, away, refresh and any others.
When cards move around. such as when cards are being dealt or being flipped over.
When a round begins.
When winners are announced (round ends).
When it's the player's turn (the player being the person playing using the client).
When the player's time to act is running out (~10s left or so).
When chips move around on the table, such as when a bet is made and when winners receive their chips.
When players leave, rejoin and toggle their away status for some other reason.
When chat messages are sent and received (except system chat maybe, since many events will already have sound effects).
When a player is eliminated.
When a player wins the tournament.
More if necessary.
Search for the required sounds.
Design a system to play sounds.
Implement the system so that whenever the events above occur, the appropriate sounds are played.
This is mostly client work, but the backend should be able to dispatch a specific sound event to the client to trigger some kind of sound if necessary, similar to how the backend can dispatch an event to start the timer, deal the cards, etc...
There should be "game options" in the future which will allow for any of these sounds to be disabled/enabled, possibly even allow for the volume of each sound to be customized.
Acceptance Criteria: