- Series: Wordware Game Developers Library
- Paperback: 495 pages
- Publisher: Jones & Bartlett Learning; 1 edition (October 14, 2004)
- Language: English
- ISBN-10: 1556220782
- ISBN-13: 978-1556220784
- Product Dimensions: 6.1 x 1 x 9.2 inches
- Shipping Weight: 1.2 pounds (View shipping rates and policies)
- Average Customer Review: 82 customer reviews
- Amazon Best Sellers Rank: #167,890 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Programming Game AI By Example (Wordware Game Developers Library) 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Top 20 lists in Books
View the top 20 best sellers of all time, the most reviewed books of all time and some of our editors' favorite picks. Learn more
Frequently bought together
Customers who bought this item also bought
From the Inside Flap
"Programming Game AI by Example stands out from the pack by providing industrial-strength solutions to difficult problems, like steering and goal-oriented behavior. Mat guides the reader toward building a foundation robust enough for real games. This book is a must-have for anyone new to the field, and has tips for the seasoned professional as well. I wish I had read it eight years ago!"
---Jeff Orkin, AI architect, Monolith Productions, No One Lives Forever 2 and F.E.A.R
"...a nice combination of a lot of really useful information, put together in a way that doesnt make my brain leak."
---Gareth Lewis, Project leader, Lionhead Studios, Black & White 2
"Each chapter of Mats book gently introduces the reader to a fundamental game AI technology before expanding the new idea into a fully formed solution replete with extensive code and clearly worded examples. The tone of the book is uncomplicated and accessible to the reader, allowing a novice programmer the opportunity to get to grips with the basics of game AI programming by implementing their own systems direct from theory or expanding upon code examples offered to gain understanding in a sandbox environment. Once individual technologies are fully understood, the book goes on to combine these ideas into several complete game environments allowing the reader to understand the relationships between the interacting systems of an overarching game architecture."
---Mike Ducker, AI programmer, Lionhead Studios, Fable
"Using easy-to-follow and well-described examples, this book shows you how to use most of the techniques professional AI programmers use. A great introduction for the beginner and an excellent reference for the more experienced!"
---Eric Martel, AI programmer, Ubisoft, Far Cry (XBox)
"Programming Game AI by Example is an excellent book for the game programming neophyte, the intermediate programmer, and even the expert - it doesnt hurt to go over familiar ground, does it? The book concisely covers all of the important areas, including basic maths and physics through to graph theory and scripting with Lua, to arm any programmer with the tools needed to create some very sophisticated agent behaviours. Unusually for books of the type, Programming Game AI by Example is solid in its software engineering too, with the example code demonstrating game uses of familiar design patterns. Id have no qualms about recommending Programming Game AI by Example to any programmer. Its an excellent read and an excellent springboard for ideas."
---Chris Keegan, Technical director, Climax Studios (Solent)
About the Author
Mat Buckland is a freelance programmer and writer. He became interested in AI when he coded Waddingtons Monopoly for the ZX Spectrum way back in the 80s, and over the years his passion for making computers "think" has never faded. He is the author of the book AI Techniques for Game Programming and the founder of ai-junkie.com, a popular web site that specializes in AI tutorials. He is also a member of the AI Interface Standards Committee and co-hosts the AI round table at the European Game Developers Conference.
Browse award-winning titles. See more
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
With all the college courses and graduate studies devoted to the field of artificial intelligence, this book could have easily drowned itself it excessive theory. Thankfully, this did not happen. The author is truly able to give concrete examples and demonstrate the applicable methodologies. Not only do the examples given in the text convey the lessons in AI so clearly, they could easily be employed in your own projects.
I have given myself plenty of time not only to read the book, but generate my own AI code inspired from the book. It really is the perfect blend of theory, practice, and examples. If you are looking for an entry level AI book that will also deliver you into the intermediate stages of AI programming, this is the book you have been looking for.
I would highly recommend anyone who purchases the book to check out the source code that can be found on the companion website. It not only offers the source code from the book, but also the standalone executables that run the programs discussed. As AI behavior is such a dynamic phenomenon, it really lends itself to view the examples in motion alongside the text. That's why these programs are so helpful. Additionally, one can tell a lot of care was put into constructing these programs to really demonstrate the main point of each topic.
As an aside, chapter 2 of this book is an exceptional chapter for those interested in game engine design. It primarily deals with state-driven design and finite state machines, but also discusses game entities and their management along with message handling. While the topics in this chapter deal with AI behavior, their applications go far beyond AI and could easily be applied to many other features of games and software.
Because I taught university level mathematics for years, the math portion was rather straight forward for me (other than the misuse of a few mathematical terms/definitions). I would have preferred to give the book 4.5 stars, but that was not an option. If the author covers the material beyond this first chapter as well as he has in the math chapter, then this should be a 'must buy' for anyone interested in the subject, and am very pleased with the purchased of this book.
But there a few drawback.
1) There is not explain all peaces of the C++ code. It is clearly explained all about the AI, but many help objects ( i.e. transformation matrix for rotation) are not mentioned in the book and you find them only in the source code.
2) There are C++ source only for Visual Studio 06 and 08. I have big problems to recompile this projects in VS10 (at the end I managed it, but It takes me a lot of time). And of course, If you prefer Linux, you have a problem ...
Good news is, that I decided to rewrite all codes from C++ to Java. So, if you are interested, you can find them on
I hope it help somebody :)
Thankfully I have a limited background in C++ and am currently developing in C# so I was easily able to understand it. Probably my favorite feature of this book is the "Math and Physics Primer" in the beginning. It's been a while since I've taken any high level math classes so that was a nice refresher. This book also fails to dive into the more detailed mathematics behind AI behavior but it does explore the programming concepts.
Over all I would definitely recommend this book to anyone thinking of venturing into AI Programming, it delivers as promised and so much more!