Skip to content

Automaticaly reconnect the player when it refreshes the page #12

Description

@IgorBayerl

We can save on local storage the room id of the last game the player was playing.
if the player disconnects in poupose, I should remove the ID from local storage to not reconnect

When the home page loads.
if the player has a lastRoomId saved locally
verify if the gameroom still exists

if it exists reconnect

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions