Self-Help Books from Cengage Learning PTR

Behavioral Mathematics for Game AI

Behavioral Mathematics for Game AI

ISBN 13: 9781584506843

ISBN 10: 1584506849

Author: Dave Mark

Pages: 459

Published: 03/05/2009

Print Book Price: $49.99 Add to cart

eBook Price: $24.14 Add to cart

eBook Download Instructions

Companion downloads

Human behavior is never an exact science, making the design and programming of artificial intelligence that seeks to replicate human behavior difficult. Usually, the answers cannot be found in sterile algorithms that are often the focus of artificial intelligence programming. However, by analyzing why people behave the way we do, we can break down the process into increasingly smaller components. We can model many of those individual components in the language of logic and mathematics and then reassemble them into larger, more involved decision-making processes.

Drawing from classical game theory, "Behavioral Mathematics for Game AI" covers both the psychological foundations of human decisions and the mathematical modeling techniques that AI designers and programmers can use to replicate them. With examples from both real life and game situations, you'll explore topics such as utility, the fallacy of rational behavior, and the inconsistencies and contradictions that human behavior often exhibits. You'll examine various ways of using statistics, formulas, and algorithms to create believable simulations and to model these dynamic, realistic, and interesting behaviors in video games. Finally, you'll be introduced to a number of tools you can use in conjunction with standard AI algorithms to make it easier to utilize the mathematical models.
Note*: If you are buying the e-book version of this product, any CD/DVD supplement files referenced throughout the book can be accessed for free at our Companion Downloads page.
  • Written for anyone who wants to understand the math behind common game behaviors.
  • Shows readers tools and AI algorithsm that make it easy to apply mathematical models to their games.
  • All of the programming examples and mathematical models shown in the book can be downloaded at
  • Companion website available here:
Author Bio
Dave Mark
Dave Mark is the President and Lead Designer of Intrinsic Algorithm, LLC, an independent game development studio and AI consulting company in Omaha, NE. He has been programming since 1984 when he was in high school. Much to the dismay of his teacher, he wrote his first text adventure on the school’s DEC PDP-1144. After a brief detour in the music business as a composer/arranger, keyboard player and recording engineer during the early ‘90s, he re-entered the technology arena in 1995. After being in the IT consulting and development world for 8 years, Dave left to start game, simulation and AI consulting company, Intrinsic Algorithm LLC with his wife, Laurie. He was a contributor to the AI Game Programming Wisdom series and is a regular columnist at
cover image - Behavioral Mathematics for Game AI
Table of Contents
Part I: Introduction
1: Why Behavioral Mathematics
2: Observing the World
3: Converting Behaviors to Algorithms

Part II: Decision Theory
4: Defining Decision Theory
5: Game Theory
6: Rational vs. Irrational Behavior
7: The Concept of Utility
8: Marginal Utility
9: Relative Utility

Part III: Mathematical Modeling
10: Mathematical Functions
11: Probability Distributions
12: Response Curves
13: Factor Weighting

Part IV: Behavioral Algorithms
14: Modeling Individual Decisions
15: Changing a Decision
16: Variation in Choice