Skip to content

Persist game state #87

@jak78

Description

@jak78

I would like the game state to be persisted when the game server stops.

Use-cases:

  • manage a server crash
  • split the game on 2 different days
  • manage a laptop shutdown because of low battery 😆

Every game iteration, the game state is saved into a LevelDB local database. On server startup, the game state is rebuilt from the state stored in LevelDB.

I have a pull request almost ready to submit.

WDYT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions