Skip to content

continuous sync of complete gamestate/world #8

@nitzel

Description

@nitzel

Right now it works like this:

  • Complete Sync when connecting
  • Sending updates only (money, planets, changed ships, dead ships, new shots)

If there is any information lost then the system easily gets out of sync, so there should be a continuous synchronization of the ship-list. This would also allow a better control of the amount of data sent.
If we update 5000 ships every second (changed first, and if there are no more changed to be updated, fill the rest with ships that stayed the same) we have a constant throughput and mistakes will be corrected within seconds. The amount of ships to be updated over time can also be adjusted to the maximal possible throughput of the internet connection.

You could also consider it as a ring-buffer that is continuously transmitted.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions