superhp / cts-contest

0 stars 2 forks source link

Connection recovery #40

Open jurgiskg opened 6 years ago

jurgiskg commented 6 years ago

If a user loses his connection (unstable internet, etc.), then this user must be able to reconnect to the same duel.

If his opponent solves the task until time ends, he receives the points (even if the disconnected person is not yet back). Otherwise, both players do not get any points.

jurgiskg commented 5 years ago

Could be improved with a button 'Resume' if a player is already in a duel (instead of the same 'Start' button like now)

jurgiskg commented 5 years ago

Initial call (whether player is in-game or not) should be done when view is loaded 1st time. After that, consequent 10s calls can be left.