Skip to main content

Goal-Oriented Action Planning

Goal-Oriented Action Planning, or GOAP, is a system for building AIs in games. An AI is given a list of goals and a list of actions. The algorithm determines what the AIโ€™s goal is and then a set of actions that will achieve the desired goal.

GOAP can have this nice organic feel to it, but can be computationally expensive. Itโ€™s also complex to implement, relative to Behaviour Trees or a State Machine. It does scale up to lots of goals and actions, however. State Machines, for example, grow exponentially as it grows in complexity.


Implementation Tutorialsโ€‹