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 7. Knowledge Representation

In this chapter, we will cover the following topics:

  • Creating knowledge sources

  • Creating a blackboard architecture

  • Using a blackboard for decision evaluators and actions

So far, our soldier has been using basic inputs from many different sources and in many different places. For instance, having conditional evaluators calculate the best enemy to attack is a very poor place to put decision selection, which mutates our soldier's knowledge of the sandbox. Going forward, knowledge can be consolidated in a central data structure that is available to all of our agent systems.