O'Reilly logo

Programming Game AI by Example by Mat Buckland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7
Raven: An Overview
T
his chapter will present an overview of a game named Raven. Raven
will be used as the framework within which all the remaining tech
-
niques described in this book will be implemented (in addition to most of
the ones you’ve already learned). First, some time will be spent familiariz
-
ing you with the game architecture before concluding with an outline of the
components that make up the AI. Full descriptions of some of these com
-
ponents will be provided within this chapter. Others will have entire
chapters dedicated to them.
The Game
Raven is a top-down 2D game environment that is simple, yet complex
enough to adequately demonstrate the techniques described in this book. A
typical Raven map consists of a number of rooms and corridors, several
spawn points from which the agents (“bots”) are generated, and items such
as health packs or weapons the bots can pick up and use. See Screenshot
7.1.
295
Screenshot 7.1. This looks better in motion. Honest!

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required