Map

Grid
The game map consists of a regular grid of square tiles. The tiles are considered adjacent if they share a side.

Movement
Units spend 1 movement to get to the adjacent tile. Melee attack in adjacent tile is also considered spending 1 movement.

Some tiles are occupied by gates, walls and towers.

Wall tiles are non-passable.

Units can only pass through the gates that belong to the same player.

A unit can stand on the tower tile. If it's a ranged unit it gives him a damage boost.

Some tiles of the map contain trees and are impossible to stand on.

Resource deposits
Some tiles of the map contain stone and iron deposits. Those deposits are used by placing quarry/mine on them so they can produce iron/stone.

Some tiles of the map contain wells. Farms share wells and their efficiency strongly depends on distance to wells.

Distance
The distance between two tiles (x1, y1) and (x2, y2) equals sqrt((x2 - x1)^2+ (y2 - y1)^2)