Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep the level set when the turn restarts or even when the browser is closed #39

Open
maikenegreiros opened this issue Oct 24, 2019 · 3 comments

Comments

@maikenegreiros
Copy link

When the user click the "play again" button, the game level is reset to medium. The same issue happens when the browser is closed and opened.

@maikenegreiros
Copy link
Author

maikenegreiros commented Oct 24, 2019

Fix: #40

@unclebay143
Copy link

try using Javascript localstorage

@maikenegreiros
Copy link
Author

If you look into the referenced PR, you'll see I'm using localstorage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants