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

Where do you save best score in static webpage? #471

Open
xu-song opened this issue Jan 30, 2018 · 2 comments
Open

Where do you save best score in static webpage? #471

xu-song opened this issue Jan 30, 2018 · 2 comments

Comments

@xu-song
Copy link

xu-song commented Jan 30, 2018

No description provided.

@xu-song
Copy link
Author

xu-song commented Jan 30, 2018

I have find out that. The web browser will save the best score data. It also keeps the state of last play.

@PierreAndreis
Copy link

Local storage https://github.com/gabrielecirulli/2048/blob/master/js/local_storage_manager.js

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