Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • O olives
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • simon
  • olives
  • Issues
  • #98
Closed
Open
Issue created Aug 18, 2021 by simon@simonOwner

Store game state as SnapShot

As a user I want to be able to store the current game state.

Acceptance criteria

  • Create mechanic to determine a filename for the new snapshot. The file should be in the format savegame-00000.zip, counting up
  • Create a zip file that stores the new snapshot (json), which is in the format savesgames/savegame-00000.json within the file. The number should mirror the archive's filename number
  • Set the basic header information in the file
  • Add support for a timestamp in the save snapshots
  • Apply the data structures
    • basic/world data
    • wall data
    • portal data
    • object data
Edited Aug 18, 2021 by simon
Assignee
Assign to
Time tracking