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

Refresh should restore in-progress game via localStorage #1

Open
thejoshwolfe opened this issue Jan 18, 2020 · 1 comment
Open

Refresh should restore in-progress game via localStorage #1

thejoshwolfe opened this issue Jan 18, 2020 · 1 comment

Comments

@thejoshwolfe
Copy link

mobile browsers aggressively trash the state of open tabs and effectively refresh the page on you without warning. It would be nice if it resumed the game where you had it last.

https://wolfesoftware.com/loops/ does this.

@dgoffredo
Copy link
Owner

Good idea, thanks for the suggestion. I've been working on this on a local branch. The trick is small modifications to cube.js that will allow the specification of non-preset, non-blank cells. You're right that local storage is appropriate, as IndexedDb would be overkill.

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