Map Service

Map Service

Map Service Technical View

The documentation is in a very early stage and some parts might be outdated.

This part is not completely finished.

The Map size

The Size of the map depends on the amount of players, which joined the game. For less then 10 players, the mapsize is 15x15 planets. For 10 to 20 players its 20x20 planets. For more then 20 players its 35x35 planets.

This only applies to maps where the map has no configured size, see custom map.

Planet properties

Every planet has an movement difficulty, which defines how much energy you need, to move on this planet. The planets in the inner map (planets which are ((mapsize-1)/3) fields away from the edge) have a difficulty of 3. The planets in the mid map (planets which are ((mapsize-1)/3/2) fields away from the edge) have a difficulty of 2. All the other planets are in the outer map and have a difficulty of 1.

The location of the planets also defines which ressources they can contain. The outer map only contains cole. The mid map contains iron and gems and the inner map can contain gold and platin.

Some planets of the outer map are spacestations. Players can spawn on them and have a higher regenartion rate for their robots. The location of the spacestations is choosen randomly.

Some planets of the map are not accessable. They are not part of the neighbours of the accessing planets and dont contain spacestations or resources. They represent obstacles for the players, where they have to move around. Their location is also chosen randomly.

Service-oriented Functions

Repository Link Map


Custom map

Describes the possible options for configuring custom maps

OpenAPI

OpenAPI

AsyncAPI

AsyncAPI

Last modified November 10, 2023: Added Kotlin Player Skeleton Documentation (339a416)