Skip to content

Create game state serializer #4

Open

Description

@wattsyart

We need a simple serialization mechanism for the game state.

This won't include network safe serialization explicitly (yet), but should hopefully not create any messes to clean up later when adding netcode primitives.

The idea here is first unlock saving changes to an existing game.

The second idea here is to unlock snapshots for replay testing, which is further away.

It can at least be network order-stable.

Then, define "Definitions" data that is not part of Game State.

After that, it should be network-safe (topologically avoid state that is inherently non-serializable like engine primitives, and then avoid serializing anything that crosses the Definitions boundary)

Activity

  1. self-assigned this
    on Sep 28, 2022
  2. added this to the First Playable milestone on Sep 28, 2022
  3. added a commit that references this issue on Sep 29, 2022
  4. moved this from In Progress to Todo in nouns-game-engineon Sep 29, 2022
  5. moved this from Todo to In Progress in nouns-game-engineon Oct 20, 2022
  6. moved this from In Progress to Todo in nouns-game-engineon Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions