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

Solo mode local storage #25

Closed
tobymao opened this issue Apr 13, 2020 · 2 comments
Closed

Solo mode local storage #25

tobymao opened this issue Apr 13, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@tobymao
Copy link
Owner

tobymao commented Apr 13, 2020

Right now solo mode has no storage, so a refresh will kill the game.

When playing solo mode, we should

  1. generate an ID to save the game
  2. save the game in local storage by the id, you can use Lib::Storage
  3. Add someway from the homepage to get access to these local games
  4. The API should simply route to the local action
  5. import and export these actions
@tobymao tobymao added the enhancement New feature or request label Apr 13, 2020
@tobymao tobymao assigned tobymao and unassigned tobymao Apr 13, 2020
@tobymao
Copy link
Owner Author

tobymao commented Apr 13, 2020

@lkingsford

@lkingsford
Copy link
Contributor

Sorry - wanted to help, but I think open it up again. Need to work on Ruby/Opal fundamentals a little more before being able to deliver this in a timely manner.

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

No branches or pull requests

2 participants