Process

Candidate orders

You might say: action sampling, move generator, order slots, action portfolio, candidate plans

A move generator builds a short, legal list of complete plans for each side from the much larger set of unit or order combinations.

What it does
Makes a simultaneous search affordable while keeping enough distinct plans to expose counters and non-obvious joint actions.
Ask
Which legal plans survive the generator, and what useful strategy would be missing if they do not?
Trouble
The list contains only one safe script, omits a strong counter, or grows so large that the search cannot evaluate it in time.

What to look for

  1. A generator log shows legal plans being ranked or sampled
  2. Several complete order cards cover different tactical intents
  3. A search node reports a candidate count far below the raw action count

Sources

  1. David Churchill and Michael Buro, Hierarchical Portfolio Search in Prismata (Game AI Pro 3), Section 30.4, p. 3The main idea behind these “portfolio-based” search systems is to reduce the branching factor of the game tree by using a portfolio of algorithms to generate a much smaller, yet hopefully intelligent set of actions.
  2. Santiago Ontañón, The Combinatorial Multi-Armed Bandit Problem and Its Application to Real-Time Strategy Games, Introduction, p. 58The key to the success of these algorithms is to sample the search space, rather than exploring it systematically.
  3. Santiago Ontañón, The Combinatorial Multi-Armed Bandit Problem and Its Application to Real-Time Strategy Games, Introduction, p. 58To illustrate this, consider Real-Time Strategy (RTS) games, where each player controls a collection of units, all of which can be controlled simultaneously, leading to a combinatorial branching factor.
  4. Jonathan Gray, Adam Lerer, Anton Bakhtin and Noam Brown, Human-Level Performance in No-Press Diplomacy via Equilibrium Search, Section 2, p. 2We refer to a tuple of orders, one order for each of a player’s units, as an action. … There are an average of 26 valid orders for each unit … so the game’s branching factor is massive and on some turns enumerating all actions is intractable.

Use it on your project

teardown-apply: hold "Candidate orders" (candidate-orders) 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