This article was published for AiGameDev.com PREMIUM members, available by subscription. You can join here in a minute or less. If you're already a member, log-in from the top right menu.

Premium Teaser
UtilityPractice.medium

Programming Utility Systems for Single Decisions in Practice

Alex J. Champandard on April 26, 2010

AI programmers have been applying variations of utility systems for decades, and in many cases the problems are so simple it's not worth thinking twice about! However, it's extremely useful to spot utility-based decisions patterns in your code so you can use common techniques when trying to extend your AI — or simply prevent problems later on in the project.

In this masterclass, you'll learn about the code behind utility systems; what do they start out like, how do they evolve over time, and what happens when you try to extend them? You'll see how you can apply a simple code framework as appropriate to help support single-decisions in your game.