Pattern

Hierarchical control

You might say: multi-scale control, layered AI, strategic tactical hierarchy

A recurring architecture that splits decisions by time scale and scope, with higher layers setting goals and lower layers carrying them out.

Ask
Where does each decision live, what does it promise to the layer below and how does lower-level evidence trigger reconsideration above?

Sources

  1. Santiago Ontañón et al., A Survey of Real-Time Strategy Game AI Research and Competition in StarCraft, Section II-B, p. 4At a higher level, players need long-term planning capabilities, in order to develop a strong economy in the game; at a low level, individual units need to be moved in coordination to fight battles taking into account the terrain and the opponent.
  2. Santiago Ontañón et al., A Survey of Real-Time Strategy Game AI Research and Competition in StarCraft, Section III, p. 4Typically, strategic decisions constrain future tactical decisions, which in turn condition reactive control.

Use it on your project

teardown-apply: hold "Hierarchical control" (pattern-hierarchical-control) from the teardown at https://teardownatlas.com/game-ai/ against my project

Paste it into a coding agent that has the teardown skills.

An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal