Skip to content

Multiplayer server #10

@parasyte

Description

@parasyte

Server needs to do a lot of things, since it acts as the "source of truth" for the game.

  • Need multiple channels, E.g. private games between friends, and matchmaking games.
  • To "do it right", keep the connections open and stream JSON messages back and forth from the clients.
  • Keep track of which users are connected to which channels, so messages can be dispatched appropriately.

The first iteration of the server will probably just dispatch every message it receives. A more complete server would parse the messages and act upon them appropriately; maybe dispatching, and maybe modifying the message before dispatching.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions