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

Save state management: save and load played hands #1

Open
kleinfreund opened this issue Mar 2, 2024 · 0 comments
Open

Save state management: save and load played hands #1

kleinfreund opened this issue Mar 2, 2024 · 0 comments
Labels
area:ui Issue related to the UI feature New feature or request

Comments

@kleinfreund
Copy link
Owner

Description

Add a basic save state management system so users can save and load played hands.

Motivation

While a user can technically keep track of multiple played hands already by keeping track of the various share URLs of their played hands, it'd be much nicer to allow users to save the state by name in the their browser (i.e. local storage). They could load their saved states and thus flip and back and forth between various hands to try out which hand performs better.

This should probably be limited to ~10 entries or something like that. There are probably also storage limitations by browsers that I need to consider here.

@kleinfreund kleinfreund added feature New feature or request area:ui Issue related to the UI labels Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:ui Issue related to the UI feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant