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

Proper game state structure #187

Open
ethanmoffat opened this issue Apr 27, 2022 · 0 comments
Open

Proper game state structure #187

ethanmoffat opened this issue Apr 27, 2022 · 0 comments

Comments

@ethanmoffat
Copy link
Owner

Currently, persisted data in EndlessClient is stored in a repository/provider pattern. It would be nice to store this is a JSON-serializable GameState structure behind the repositories/providers and have each repository/provider expose just a specific piece of the game state. The interfaces don't have to change; their implementation can just draw from a global GameState provider.

This would really only be an improvement for debugging purposes, and I might ultimately decide not to do it since it would be a huge change.

@ethanmoffat ethanmoffat added this to the Version 1 milestone Apr 27, 2022
@ethanmoffat ethanmoffat modified the milestones: Version 1, vNext May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant