mirror of
https://github.com/Kugelschieber/ecosim.git
synced 2026-01-18 06:40:26 +00:00
Tilemap and savegames.
This commit is contained in:
@@ -22,3 +22,11 @@ The server and client communicate through a simple TCP (web socket) and JSON pro
|
||||
### Authentication
|
||||
|
||||
For authentication oAuth with a refresh token will be used. Clients need to authenticate themselves when connecting to a game.
|
||||
|
||||
## Tilemap
|
||||
|
||||
The tilemap is implemented as a simple 2D array of objects. Each tile has an owner, properties of it's type, price, and so on. Maps are crafted by hand and don't change during the game, except for some population growth (new houses, higher demand) and changes made by the players. Roads for example cannot be changed. Each map has a biome, which sets the basic theme for the map (desert, green, artic, ...).
|
||||
|
||||
## Savegames
|
||||
|
||||
Savegames are stored in Postgres as JSON blobs and serialized/deserialized when saving/loading a game.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Ecosim is a browser-based multiplayer game about running one or multiple successful companies on a tile-based map in real time.
|
||||
|
||||
> Everything related to the implementation and technology of the game is described in a [different article](00-Implementation.md).
|
||||
> Everything related to the implementation and technology of the game is described in a [different document](00-Implementation.md).
|
||||
|
||||
## Goal of the game
|
||||
|
||||
|
||||
Reference in New Issue
Block a user