Expand description
Lobby/Game-state definition and internals.
Includes:
- LobbyState and SharedLobbyState definitions
- Sending and receiving messages
- Chat message handling
- …
Modules§
- clients
- Definitions for client handling.
- handle_
messages - matchups
- players
- Extension of the
clientsmodule specifically for players, because players are very complex.
Structs§
- Lobby
State - The state of a lobby. The game may not have started yet, or it could be in-progress already.
- Shared
Lobby State - A shared, lockable reference to lobby state, shared between the lobby’s task and the server’s task.
- TxRx