Loop

Sense, think, act

You might say: agent loop, perception-decision-action cycle, control loop

A repeating cycle in which the AI reads the world, chooses a response and applies it, then observes the changed world.

What it does
Keeps decisions connected to the changing game instead of treating a plan as a one-time script.
Ask
What changed since the last cycle, what decision used that evidence, and what action changed the next observation?

Loop: cycle

Knowledge → Decision-making architecture → Movement and pathfinding ↺

Sources

  1. Michael Dawe, Steve Gargolinski, Luke Dicken, Troy Humphreys, and Dave Mark, Behavior Selection Algorithms: An Overview, Section 4.1While each of these example AIs may follow the Sense–Think–Act cycle, the “think” part of that cycle is ill-defined.
  2. Ian Millington and John Funge, AI for Games, Third Edition, ch. 1, p. 13agent-based AI is about producing autonomous characters that take in information from the game data, determine what actions to take based on the information, and carry out those actions.

Use it on your project

teardown-apply: hold "Sense, think, act" (sense-think-act) 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