Game AI & real-time strategy
Build order
Also: opening, build
A build order is the set sequence in which a side in a real-time strategy game queues buildings, units and upgrades, especially in the opening. It is the counterpart of a chess opening: rehearsed, tuned for tempo and tailored to particular counter-strategies.
Background
In strategy games with an economy, the opening often decides the whole match. Whoever builds workers, resources and production in the right order has noticeably more to work with a few minutes in. Players therefore often write build orders down as lists keyed to timestamps or supply counts.
For a game AI, a build order is the simplest route to a strong opening: a script worked through step by step. The hard part is the transition. A rigid list turns into a weakness the moment the opponent attacks early or resources run short. Good AIs check conditions at each step and switch to another list, or to free decision-making, when needed.
Classic mistakes are lists with no exit, an AI that keeps building while its base burns, and too little variety, so that players can predict and exploit the opening after two matches.
How we do it
From our founder’s experience
None of our current games has an economy with production queues, so we have no use for build orders right now. The term comes from our founder’s background as an AI developer for real-time strategy in 2000.
The problem behind it, predictability, does show up in FaxFight: attacking the same zone twice in a row costs one point of damage. The training opponent therefore mostly avoids last round’s zone and spreads its blocks, so its moves never form a pattern you could learn by heart.
Related terms
- Micro and macroGame AI & real-time strategyMicro is the moment-to-moment control of individual units in combat; macro is the big-picture management of economy, production and expansion.
- Finite state machine (FSM)Game AI & real-time strategyA finite state machine models behaviour as a fixed set of states with transitions between them, exactly one of which is active at any time.
- Utility AIGame AI & real-time strategyUtility AI scores every possible action for its usefulness in the current situation and picks the best one, or chooses randomly weighted by score.
- Game balancingMultiplayerBalancing is tuning game values so that no character, strategy or option is clearly stronger than the alternatives.