Units

Units are an essential feature in the game. They are used to shoot, heal, and even convert resources. They can be upgraded or destroyed by clicking on them.

Types of Units
There are many different units in the game, all of which are used to defend your tank, be it directly or indirectly. These units all have different names and are used for different purposes. The units currently in the game are as follows:


 * Core, the base of your tank.
 * Basic Unit, a simple unit which can protect your core.
 * Basic Turret, A regular turret with a single gun.
 * Spike, a small appendage which deals significant collision damage.
 * Sniper Turret, a long-range gunner which shoots fast projectiles.
 * Twin Turret, a turret with two guns, which fire small bullets.
 * Healing Unit, a support unit which heals connected units over time.
 * Octa Turret, a turret with eight guns, that fire slowly but in every direction.
 * Cannon Turret, a slow, but powerful gun capable of dealing hefty damage.
 * Alchemy Lab, an experimental unit which converts one unit to another.

Cost
Values for building units are as follows:

Calculating cost

 * Calculating building cost: $$woodUnitCost \times (materialNumber + 1)$$
 * Calculating upgrading cost (materialNumber is material number before upgrading): $$floor(woodUnitCost \times (materialNumber + 1 + 1) - \frac{woodUnitCost \times (materialNumber + 1)}4)$$

Trivia

 * Back then, there was a unit called the Booster Unit which could boost your speed. Not much is known about it.
 * The most expensive unit is the Onyx Alchemy Lab.
 * The Core is the only unit that cannot be built. Instead, it is spawned in when you first start the game.
 * The more Units a tank has, the slower they are.