Expand description
Modules
Implementation of an ad-hoc protocol on top of UDP used for sending gameplay update between the server and client.
Structs
Contains the map tiles, spawn points (if any), and player characters for a limited area in the game.
Information about a character moving from point A to B.
A randomly generated identifier that differentiates different player characters.
Player character information, relative to the chunk the player is in.
Coordinates.
An identifier for different looking tiles.
Contains all the game state.
Enums
Client-side actions that are sent to the server.
Messages sent back to clients by the server.
Constants
The amount of columns of chunks in the world.
The amount of rows of chunks in the world.
The height of one chunk in tiles.
The width of one chunk in tiles.
The amount of timesteps in one second. The “FPS” of the game logic.