Game Development Reference
We are builders of our own characters. We have different positions, spheres,
capacities, privileges, different work to do in the world, different temporal fabrics
to raise; but we are all alike in this,—all are architects of fate.
John Fothergill Waterhouse Ware
It seems appropriate to have a chapter about Artificial Intelligence (AI) that
follows one on elementary game mechanics as these are the very same
mechanics that drive the AI domain. In the field, researchers and developers
create algorithms that can search, sort, and match their way through tasks
as complex as pattern matching in face and voice recognition systems and
reasoning and decision making in expert systems and vehicle control. It
makes sense that algorithms used for making artificial brains are modeled
on the same ones that compel fundamental human behavior and make
game playing so much fun.
Of all the forms and applications of AI, games use a very small subset, the
majority of which to develop the behavior of nonplayer characters (NPCs).