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

If Batch canceled while player still in game, broken #25

Closed npaton closed 6 years ago

npaton commented 6 years ago

Expected behavior, bring user to outro. failedReason: "gameCancelled".

amaatouq commented 6 years ago

Actually, if a batch is stopped .. nothing happens (i.e., the game continues) .. I think the best behavior, for now, would be taking them to the outro with the appropriate exitStatus.

On the other hand, to replicate the error I mentioned today, try this: 1- start a game with all players 2- close the browser before the game ends (i.e., in the first round) 3- come back when the game has finished (i.e., after waiting for say, 10 minutes) 4- the game will be broken .. the player will not be taken to the outro (given that the game has finished).

npaton commented 6 years ago

I cannot reproduce the closed window and coming back, for me I land on the exit steps as expected. If you can still reproduce, copy the steps to reproduce into a new ticket.