Handle player disconnecting and reconnecting
anula opened this issue · comments
Anna Szybalska commented
Currently when player disconnects (eg. refreshes page) their 'connected' state for the game is set to false. Make sure it is set back to true when they reconnect.
Relevant docs: https://firebase.google.com/docs/database/web/offline-capabilities#section-connection-state
Anna Szybalska commented
We decided drop the whole "connected" field completely for now.