Book Image

Learning Game AI Programming with Lua

By : David Young
Book Image

Learning Game AI Programming with Lua

By: David Young

Overview of this book

Table of Contents (16 chapters)
Learning Game AI Programming with Lua
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
Getting Started with AI Sandbox
Index

Chapter 6. Decision Making

In this chapter, we will cover the following topics:

  • Creating reusable actions for agent behaviors

  • Building conditional evaluators for decision making

  • Creating a decisions tree structure that builds autonomous agents

  • Creating a finite state machine that handles state-based agents

  • Creating behavior trees for reactive agents

Now that we have agents that can animate and maneuver through their environments, we'll add high-level decision making to our agents. These data structures will finally give our agents autonomy in how they interact with the world as well as other agents.