Programming Game AI by Example
by Mat Buckland · Wordware Publishing
Builds game agent behavior in C++ step by step, from steering behaviors and finite state machines to goal-driven agents, with worked projects including a soccer team simulation and a deathmatch shooter.
This link may earn us a small commission at no extra cost to you. Affiliate disclosure
More resources on Game AI
Game AI Pro
Free online archive of the Game AI Pro book series: practitioner-written chapters on pathfinding, behavior trees, tactical reasoning, and animation from shipped commercial games. Useful for seeing how studios solve AI problems in production.
Unity ML-Agents GitHub
Source repository for Unity's machine learning toolkit, with example environments, training configurations, and documentation for using reinforcement learning and imitation learning to train agents inside Unity scenes. Includes the Python trainers and C# runtime.
Artificial Intelligence for Games
Reference text covering the standard game AI toolkit: steering and movement, pathfinding, decision trees and state machines, tactical analysis, and board game search, with pseudocode and performance notes for each technique.
aiandgames.com
AI and Games is a resource focused on game AI, featuring tutorials, articles, and code examples that explore how AI techniques are applied in video games. Content covers practical methods for things like pathfinding, decision-making, and AI behavior systems with hands-on demonstrations.
GameDev.net
Long-running game development community with forums, member blogs, tutorials and articles on programming, graphics, physics, art, audio and design, where developers can ask technical questions, study worked techniques and follow discussion of how games are built.