Deimos-Phrixus / marathondraw

Multiplayer pictionary game where AI guesses your drawings. Used a subset of Google's Quickdraw dataset to trian a classification model (>75% accuracy) that is used in the AI to guess players' drawings.
https://deimos-phrixus.github.io/marathondraw/
0 stars 0 forks source link

Better handling for connection loss #14

Closed rhemon closed 4 years ago

rhemon commented 4 years ago

So right now if connections go away it just goes black and sort of ends up in a werid state. This should be handled somehow.

Also at the start it instantly lets the player start playing. But it should wait for all players to join in and then start drawing.

MHLinh commented 4 years ago

I'm gonna add the conditions then.

MHLinh commented 4 years ago

Oh, how would you want to handle connection lost though

rhemon commented 4 years ago

not sure yet. and i am not clear on how it looses connection sometimes even when i did nothing. maybe it will check from frontend that u lost connection and displays the message that u r gone. and from backedn it updates the player lost connection

and maybe like let the game keep playing unless it just ends up being one player in the server then it should just finish it for him sending a message to him as the winner and score

rhemon commented 4 years ago

but maybe discuss with the rest and find a better way. i am not very sure