Description
Currently a puzzle session is lost if the player quits mid-session (whether via TUI or future WASM/web frontend). Add a persistence layer so a session can be serialized to disk (native) or localStorage (WASM) and resumed later with the same puzzle state, elapsed time, hint count, and score-in-progress.
Acceptance Criteria
Description
Currently a puzzle session is lost if the player quits mid-session (whether via TUI or future WASM/web frontend). Add a persistence layer so a session can be serialized to disk (native) or
localStorage(WASM) and resumed later with the same puzzle state, elapsed time, hint count, and score-in-progress.Acceptance Criteria
Sessionstruct derivesSerialize/Deserialize(serde)save_session(path: &Path)andload_session(path: &Path)added to the persistence module--resume <session_id>CLI flag loads the last saved session