amaatouq/netwise

If Batch canceled while player still in game, broken

Closed this issue · 3 comments

If Batch canceled while player still in game, broken

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

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

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.