Phase 3.8: Save/Load game functionality #26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Persist and restore game state. The game state (GameState struct) is serialized to JSON and saved to the server filesystem (or user's browser via localStorage for simple cases).
Tasks
SaveGame()— serialize GameState to JSONLoadGame()— deserialize JSON back to GameStateDepends On
Acceptance Criteria