White Paper
Search…
Tilemap Scalability
As mentioned in the previous sections, Codyfight is a turn-based game where two robots fight on a playing field - the game arena map

Map tiles

Codyfight's playground is built from several types of cells called tiles. Each tile has its position on the map grid and a specified type:
  • Wall - an indestructible block, that is usually used for map boundaries.
  • Empty tile - a tile that is currently empty, meaning it is occupiable by any agent.
  • Occupied tile - a tile that has any kind of agent standing on it at the given moment.
  • Obstacle - a block that can not be occupied by any agent, although it can be demolished in certain ways.
  • Exit - occupying this tile results in the round end, awarding the exiting player with points.
The above list is not finite and more tile types are to come.
Codyfight game map built out of: exits, walls and obstacles

Agents’ spawn positions

Every agent whether it is a player's robot or a Special Agent has its spawn position on the map. Each round the player's robot spawns randomly, making the gameplay more dynamic.

Scalability

At the outset, the Codyfight map was imagined as fixed at 7x7 tiles, however, this would limit gameplay opportunities. Currently, the map is designed to be semi-randomly generated for each round: different shapes and tiles configurations. The community may vote to tweak it by adding new tiles or enhancing the shape. The game's technical infrastructure is already implemented in a way that covers as many map change cases as possible, making it equally flexible and scalable.
Last modified 1mo ago