Gustavrohss / EverythingIsWrong

0 stars 0 forks source link

Handle players disconnecting #12

Closed majate closed 4 years ago

majate commented 4 years ago

We need to handle the fact that players can disconnect to the lobby. One possibility is to remove any player that disconnects from a lobby. Another possibility is to mark the player as “offline” and enable the player to join the lobby whenever the connection is found again.

This could possibly be a helpful link in order to implement tracking of player connection and disconnection.

Gustavrohss commented 4 years ago

Players can now reconnect after disconnecting/leaving/etc a game session.