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

JSON's are cluttered by state data #73

Closed
theredwillow opened this issue Jan 27, 2024 · 3 comments
Closed

JSON's are cluttered by state data #73

theredwillow opened this issue Jan 27, 2024 · 3 comments

Comments

@theredwillow
Copy link
Contributor

The games folder's JSON files are filled with unnecessary game state such as "selection" and "input". These things can be added when the state is initialized and greatly alleviate the readability of the library data.

@joshzcold
Copy link
Owner

Yes it would be nice to remove the state data.
We need to make sure that old created games when loaded don't conflict with new logic to add the state data.
which shouldn't be a problem.

@theredwillow
Copy link
Contributor Author

Making the initialized state data be optionally provided fields in the JSON seems like the way to approach that. Old versions would work, new versions would work, and people who want to preselect the answer for whatever reason can do that too.

@joshzcold joshzcold pinned this issue Feb 8, 2024
@joshzcold
Copy link
Owner

Closed by #80

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