hwoodward / Remote-Card-Games

Program for playing card games online/remotely. Goal is to play a game of hand and foot with multiple groups in different locations.
MIT License
2 stars 1 forks source link

Turn cycle #5

Closed hwoodward closed 5 years ago

hwoodward commented 5 years ago

Have server cycle through clients in a turn order, moving on player input.

hwoodward commented 5 years ago

Dependent on #4

hwoodward commented 5 years ago

old description for reference (translated to checklist)

After game start have server wait until a client has submitted a 'draw' action, then do something to acknowledge it, then wait again for the client to send in a 'discard' action before moving to the next client

should send clients a notice to go into an 'active' state when their turn starts clients should go into an 'inactive' state after their turn is over (when they send the 'discard' action)