DE EN FR ES IT

Game AI & real-time strategy

Micro and macro

Also: micro, macro, micromanagement

Micro and macro are the two layers of play in real-time strategy: micro is the precise control of individual units in combat, macro the higher-level management of economy, production and expansion. Strong players and strong AIs have to handle both at once.

Background

Micro is measured in seconds: pulling wounded units out of fire, kiting with ranged units, focusing fire on the most important target. Macro is measured in minutes: enough workers, constant production, a new base at the right time. Players who shine in battle but neglect production usually lose anyway.

Game AIs are therefore often built in layers. A strategic layer decides goals and economy, for example with a build order and influence maps; a tactical layer commands groups; a unit layer handles micro, often with state machines. The layers exchange only orders and status reports.

In AI design, micro is a fairness issue: a computer can issue any number of commands per second. Many games therefore cap the AI’s reaction time or action rate, so it wins through decisions rather than superhuman precision.

How we do it

From our founder’s experience

The distinction comes from our founder’s experience as an AI developer for real-time strategy in 2000. Our current games have no unit armies, so we mostly use the terms as a thinking tool.

On a small scale, FaxFight shows the same split: micro is the individual fight with its three or six rounds of attack, block and one special move. Macro is the progression around it: experience points, ranks, skill points spent on energy or a zone, and league points per season.

Related terms