Part

Forward model

You might say: simulator, resolver model, rollout model, game model

A fast copy of the game's rules that maps a state and a joint order set to the next state without rendering or waiting for the live game.

What it does
Lets search inspect consequences, score outcomes and roll out many candidate orders before committing one to the real resolver.
Ask
Does this model produce the same state as the live rules for the orders that matter, and is it fast enough for the search budget?
Trouble
The simulator resolves an order differently from the live game, omits a conflict rule, or is too slow to explore enough joint plans.

What to look for

  1. A debug view shows a simulated state beside the live state
  2. Rollout counters or a timeline advance without drawing the full game
  3. A mismatch report names a resolver rule or order interaction

Sources

  1. Georgios N. Yannakakis and Julian Togelius, Artificial Intelligence and Games, Section 3.2.2.2, p. 107In other words, it is a way of playing the game in simulation, so that consequences of multiple actions can be explored before actually taking some of those actions.
  2. Georgios N. Yannakakis and Julian Togelius, Artificial Intelligence and Games, Section 3.2.2.2, p. 107Having a forward model of the game is necessary in order to be able to use any tree search-based approaches to playing a game.
  3. David Churchill, Abdallah Saffidine and Michael Buro, Fast Heuristic Search for RTS Game Combat Scenarios, Section 2, p. 2As one search may simulate millions of moves, with each move having a duration of at least one simulation frame, it remains for us to construct an abstract model of STARCRAFT combat which is able to efficiently implement moves in a way that does not rely on simulating each in-game frame.
  4. Gábor Melis, Planet Wars Post-Mortem, Move GenerationThe first thing was to implement simulating the future (see `FUTURE` class), which was trivial except I screwed battle resolution up and for the longest time it was holding results back.

Use it on your project

teardown-apply: hold "Forward model" (forward-model) 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