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

Import / Export game data #66

Open
MikhaD opened this issue Jan 23, 2023 · 0 comments
Open

Import / Export game data #66

MikhaD opened this issue Jan 23, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@MikhaD
Copy link
Owner

MikhaD commented Jan 23, 2023

Description
An option in the settings allowing the user to import or export their game data.

Reasoning
Because the game uses localStorage for data persistence it is local to individual browsers on individual devices. This would allow users to transfer their data should they wish to change device or browser and not have to start again.

Implementation (optional)
Serialize the game data into some form of lightly obfuscated base 64 string to make it a little harder to modify during transport. If a user really wants to cheat they can just change their data in localStorage.

@MikhaD MikhaD added the enhancement New feature or request label Jan 23, 2023
@MikhaD MikhaD added this to the 1.6.0 milestone Jan 23, 2023
@MikhaD MikhaD self-assigned this Jan 23, 2023
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

1 participant