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.
(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.)
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.