Pandaqi / In-the-Same-Boat

Jackbox-style game where you try to sail a ship together - discovering treasures and battling your friends.
2 stars 0 forks source link

Create solid turn structure #10

Closed Pandaqi closed 5 years ago

Pandaqi commented 5 years ago

The VIP sends a signal that the turn should end.

Server receives it. Calls "finishTurn". Calls "startTurn"

At the end of startTurn, the game sends a presignal with required information.

Right after that, it sends a "new-turn" signal.

(Controller) On receiving the "new-turn", it resets the necessary variables, and loads tab0 again. (This is to refresh, but also to show a new turn has started.)

The VIP does something extra: reset their timer to 2 minutes.

Pandaqi commented 5 years ago

Well, that was quick.

(Now we just need to send the right variables and display what's happening on the monitor, otherwise I don't know if things are actually doing what they should.)