You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The game starts with a timer when it reaches the minimum required players. For the users who have times to join, this first timer will take time, but the game owner will be able to start directly the game from the scoreboard.
Once the game is started, roles are picked, and the robbers will have a few minutes to hide from the cop before he places the jail and starts chasing.
Then, the game occurs and restarts once the timer ends or the entire robber team is arrested.
Todos
Code
Define states
Game loop
Set players' role
go through the different states with a cooldown
Display the timer on UI
Display the current state on UI
End the game if all the robbers got arrested
Display the winners
Add the force start button to the scoreboard, see Leaderboard #12
Summary
Behavior
Todos
Code