Buy New
-
To see the product details, add this item to your basket.
FREE Returns
Return this item for free
Free returns are available for the shipping address you chose. For a full refund with no deduction for return shipping, you can return the item for any reason in new and unused condition.
Learn more about free returns. How to return the item? - Go to your orders and start the return
- Select the return method
- Ship it!
Dispatches from: Amazon Sold by: Amazon
Save with Used - Very Good
-
To see the product details, add this item to your basket.
Dispatches from: momox co uk Sold by: momox co uk
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Game Programming Patterns Paperback – 2 Nov. 2014
Purchase options and add-ons
The biggest challenge facing many game programmers is completing their game. Most game projects fizzle out, overwhelmed by the complexity of their own code. Game Programming Patterns tackles that exact problem. Based on years of experience in shipped AAA titles, this book collects proven patterns to untangle and optimize your game, organized as independent recipes so you can pick just the patterns you need.
You will learn how to write a robust game loop, how to organize your entities using components, and take advantage of the CPUs cache to improve your performance. You'll dive deep into how scripting engines encode behavior, how quadtrees and other spatial partitions optimize your engine, and how other classic design patterns can be used in games.
- Print length354 pages
- LanguageEnglish
- Publication date2 Nov. 2014
- Dimensions19.05 x 2.03 x 23.5 cm
- ISBN-100990582906
- ISBN-13978-0990582908
Frequently bought together

Customers who viewed this item also viewed


The Art of Game Design: A Book of Lenses, Third EditionPaperback£3.99 deliveryOnly 5 left in stock (more on the way).
A poorly designed game collapses to the one winning tactic played over and over until you get bored and quit.Highlighted by 428 Kindle readers
Before you can change the code to add a new feature, to fix a bug, or for whatever reason caused you to fire up your editor, you have to understand what the existing code is doing.Highlighted by 372 Kindle readers
One trick to ensuring your prototype code isn’t obliged to become real code is to write it in a language different from the one your game uses. That way, you have to rewrite it before it can end up in your actual game.Highlighted by 371 Kindle readers
Product details
- Publisher : Genever Benning
- Publication date : 2 Nov. 2014
- Edition : 1st
- Language : English
- Print length : 354 pages
- ISBN-10 : 0990582906
- ISBN-13 : 978-0990582908
- Item weight : 626 g
- Dimensions : 19.05 x 2.03 x 23.5 cm
- Best Sellers Rank: 250,288 in Books (See Top 100 in Books)
- 37 in Games Programming
- 113 in Software Design & Development
- 114 in Computing & Internet for Professionals
- Customer reviews:
About the author

Robert Nystrom has programmed professionally for twenty years, about half of which is in games. During his eight years at Electronic Arts, he worked on behemoths like Madden and smaller titles like Henry Hatsworth in the Puzzling Adventure. He's shipped games on the PC, GameCube, PS2, XBox, X360, and DS, but is most proud of the tools and shared libraries he created for others to build on. He loves seeing usable, beautiful code magnify the creative ability of others.
Robert lives with his wife and two daughters in Seattle where you are most likely to find him cooking for his friends and plying them with good beer.
Customer reviews
Customer Reviews, including Product Star Ratings, help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyses reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Generated from the text of customer reviewsSelect to learn more
Top reviews from the United Kingdom
- 5 out of 5 stars
Loved it
Reviewed in the United Kingdom on 14 January 2022I really liked this book. I started learning programming patterns from the book by Gang of four, but I found it to be very hard to read and understand. This book does it way better - the content is not only understandable, but it's well-written, straight to the point and sometimes even funny.
Small disclaimer - I am a backend developer, not a game developer (at least professionally). Still, it was still worth reading and I was satisfied with the choice of patterns.
3 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
A useful intro to programming patterns for budding game devs!
Reviewed in the United Kingdom on 5 October 2019Very nice book, goes into just enough detail to give you the concepts but leaves you to think about improvements, extensions or potential uses outside the ones listed. The patterns are classic programming patterns but given a slight twist of game dev. The author does a good job of explaining the patterns and how/where/why they might be used as well as some potential pitfalls. If you want extensive detail on game engines or how to make your first game this isn't the book, but it doesn't claim to be! The patterns within would be a great help to any budding C/C++/Java game developer (as well as many other mainly OOP based languages I'm sure). Don't expect to be able to write the next AAA title after reading this but you can be sure that your understanding of how games (and their code more specifically) are generally organised. Some of the patterns I felt could have been elaborated on a bit more but overall this book is a great read for anyone looking to get into game development.
5 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Surprising and Delightful!
Reviewed in the United Kingdom on 20 May 2021This is not a game programming book - it won’t walk you through writing a game... BUT it cleverly goes through the programming techniques with the thought processes that a game programmer would have, and using game situations as examples.
As a result, I understood a lot more about why and how game engines work (previously they were a bit of a black box for me) *and* saw how some of these high performance techniques applied in non-game situations.
Special praise for the even handedness of the approach. For every technique the author gives multiple variations, and full lists of pros and cons. Recommended for all programmers interested in performance.
8 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 4 out of 5 stars
Bought this as a gift for my brother - we've ...
Reviewed in the United Kingdom on 1 September 2018Bought this as a gift for my brother - we've been getting into a bit of open source game server development recently, but he hasn't got as a strong theoretical grounding in programming as I do. I didn't get to read the whole book (hence why I didn't want to give a five star review), but I read three or four chapters reviewing design patterns, and they were helpful, intuitive and accurate. I can only hope the rest of the book continues in the same way!
2 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
A great read!
Reviewed in the United Kingdom on 26 August 2024What an amazing read! A lecturer had recommended this book to me nearly 2 years ago and I can't stress enough that I wished I read this sooner! The author made sure that this wasn't just some "dry" book stuffed with design patterns. It's incredibly witty at times and is super informative!
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
One of the best programming books I have ever read.
Reviewed in the United Kingdom on 28 December 2014Although it deals with patterns in relation to games, in many ways this is a spiritual successor to the Gang of Four's "Design Patterns" and has given me a lot of of ideas for ways to improve my design and architecture outside of games too.
Very well-paced and despite the fact that I haven't touched C++ for a long time, all of the examples were clear and easy to follow.
It's very easy to read and the chapters can be read sequentially or individually. One thing I particularly liked was the way the author closes off each pattern with a look at which other patterns in the book it's similar to and why you would choose it over them.
7 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
I am 14 years old...
Reviewed in the United Kingdom on 18 December 2017I am 14 years old and I have been doing game development for over a year. I have probably read about up to 50 books on game developmet/programming but this is definitely the best. I understand this book perfectly and looking forward to implementing these patterns/theory into my games. I strongly recomend reading this book as you will come back to it repeatedly and you will learn A LOT. I really wish I read this book earlier. Anybody, young or old, asiring to beome a successful game developer should read this book.
Thank you @Robert Nystrom for creating this wonderful book.
P.S. Although, to gain a good understnding of this book you should be at an intermediete level in programming(in any language)as this book teaches you programmng methods/theory.
40 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Wicked book
Reviewed in the United Kingdom on 25 April 2019This book is brilliant!
The author manages to talk you through the tricks of the game development trade very clearly. He includes useful diagrams, margin notes, and his writing is quite witty too! The examples are non-trivial and don't feel contrived.
You'll need to have a decent grasp of object oriented programming to really get the benefits, preferably in C++ - the "lingua franca of game development".
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Top reviews from other countries
Javier5 out of 5 starsExcellent book, especially for newcomers to game development, or even generalist programming.
Reviewed in Spain on 20 May 2019I'm an almost self-taught programmer, and one of the things I've never quite finish to understand were programming patterns.
This book is so masterfully written that it doesn't just make them easy to comprehend and implement, it is also really enjoyable to read.
It has many great examples, some bits of history and even some humor.
I've used the things I learned with it, not only for games, but also for more generalist projects. Definitely a must.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Ivan D5 out of 5 starsNot just for game developers either!
Reviewed in Canada on 4 August 2017An excellent read - very well structured and written - reads as a casual conversation with the author.
While the content is quite in-depth, a consistent use of examples (both in concept and in code) makes it easy to keep reading page after page.
This book is not just for game developers either - the patterns covered have a board application outside of game dev.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Wismerhill5 out of 5 starsUn classique instantané
Reviewed in France on 21 December 2016Bien qu"il soit associé aux jeu vidéo, ce bouquin est en fait l'un des meilleurs livres sur les design patterns que j'ai pu lire.
L'auteur a un sens pédagogique certain : les explications sont claires, les exemples bien choisis et longuement interprétés. Les limites de chaque approche sont explicitées et mises en relation avec d'autres design patterns.
Cerise sur le gâteau : le style est simple, précis, efficace et bourré d'humour. De nombreuses anecdotes personnelles donnent de la couleur au texte.
Je recommande chaudement ce livre accessible et agréable mais qui n'en est pas moins rigoureux et efficace. Une réussite !
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Fabian Z.5 out of 5 starsSehr gutes, unterhaltsames Buch über Code-Patterns in Spielen
Reviewed in Germany on 3 May 2019Ein sehr gutes Buch um Architektur-Patterns hinter Spielen (und anderer Software) zu verstehen. Wer schon ein wenig anfängliche Erfahrung in Frameworks wie Unity oder Unrealengine gesammelt hat und jetzt lernen möchte, wie man seinen Code besser strukturiert, dem kann ich das Buch wärmstens empfehlen.
Es werden auch Grundlagen erklärt, die in vielen Spieleengines verwendet werden, dadurch ist das Buch auch allein für ein besseres Verständnis interessant. Aber Achtung! Wer lernen möchte, selber eine Engine von Grund auf zu schreiben, der braucht eher andere Literatur. Ebenfalls muss man schon ein wenig allgemeine Programmiererfahrung mitbringen, um die Konzepte verstehen und einordnen zu können.
Durch die sehr unterhaltsame Schreibweise des Autors macht es Spaß, dieses fachlich ausgelegte Buch zu studieren und es hat einen festen Platz in meinem Bücherschrank gefunden.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Henrique Morato5 out of 5 starsUm excelente livro para engenheiros de software
Reviewed in Brazil on 19 May 2015Para entender o código e preceitos do livro é importante entender C/C++ ou linguagem similar para aplicação.
Este livro não vai te ensinar a programar, mostrar aspectos particulares da linguagem ou de engines de games e não mostra códigos ou arquiteturas completas que servem para um jogo, porém o livro é uma excelente introdução ao design de software e como pensar sobre otimização.
Este livro é excelente e você deve considerar lê-lo caso queira aprimorar seus conhecimentos na indústria pois cada exemplo deste livro é uma demonstração de aspectos que algumas vezes deixamos de considerar no momento de construir games e softwares.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again





