Mass-timeout-annul fix

Rage driven development :laughing: a thing that leads to many a questionable feature.

FWIW, when I implemented this (my “rookie” contribution) the problem I was trying to address was pretty orthogonal, but the conversation went something like this:

Me: “why did OGS just make me lose my game?? I just went to browse the site while my opponent was thinking?”
“Don’t worry, your game was annuled”
Me: “No it wasn’t what are you talking about?”
“If you scroll all the way to the bottom left of your profile, you can see it was annulled”
Me: “well can you fix it? I shouldn’t lose a game by Disconnection during my opponent’s turn!”
“OGS is open source, want to fix it yourself?”
Me: “Only the front end is open source. How can I prevent the server from ending my game?”
“I’m sure you can think of something :wink:

And this is the solution I thought of :laughing:

2 Likes