Skip to content

game rules

Paweł Waligóra edited this page Dec 20, 2024 · 1 revision

Game rules

Setup

At start set amount of resources are spawned.

Each player when joining receives one unit placed on a random field unoccupied by any other unit.

Actions

Player can request their units to move, attack other units or to mine a resource.

Each unit can perform only one action per game tick.

Movement

Units can move only on side neighbouring fields (no diagonal movement).

Attacking

Units can attack other units only on side neighbouring fields.

Units that belong to same player can attack each other. (friendly fire is on)

If unit hp reaches 0 it is deleted. If player gets kicked out of the game whenever they loose all the units.

Resource mining

Units can only mine resources that are on the same field.

With each mining action performed by unit resource hp is lowered by set amount. (unitDamage) Resource mining can be interpreted as attacking the resource. If resource is mined (it's hp reaches 0) player is granted with an extra unit spawned on a closest field to where the mined resource was.

Resource spawning

Every game tick there is a set chance that resource will spawn.

Resources spawn on random fields with no resource. (No more than once resource can be on one field) Resource can spawn on fields occupied by units.

Game winning

Game ends when one player acquires a set amount of units. That player becomes the winner.

Clone this wiki locally