amaatouq / netwise

open source project to tackle the problem of long development cycles required to produce software to conduct multi-participant and real-time human experiments online.
1 stars 0 forks source link

Add Lobby timeouts #16

Closed npaton closed 6 years ago

npaton commented 6 years ago

There are 2 exclusive lobby timeout types:

A game can only have one or the other. If lobby timeout, the timer starts with the first player entering the lobby. There are 2 exclusive options for the lobby timeout:

If neither options are selected, the game is cancelled at the end of the timeout period.

For the individual timeout, each player has a timer that starts when they enter the lobby. If timer runs out, the player is asked if they want to wait the same amount of time again. There is an configuration to set max number of times this question can be asked. If set to 0, the question is never asked, they immediately exit.

In the admin, there is a new tab, Lobby Templates, where different timeout configurations can be created. Then when creating the batch, for each treatment, we can select a lobby template.