DeepRead
Cover of Game Programming Patterns

Game Programming Patterns

Robert Nystrom · 2011

Programming and computer science › Game and graphics programming

#244 most recommended

About the book

A practical guide to recurring design patterns in game programming, covering how real game engines structure gameplay logic, rendering, input, and memory use. It draws its examples from game code and presents each pattern with pseudocode and an explanation of the problem it solves. Patterns from the classic software design canon, such as the Gang of Four set, are often best understood through the constraints of games, where frame-time budgets, many interacting objects, and tight memory limits make some structures necessary. The book holds that patterns such as Game Loop, Update Method, Component, and Flyweight make code cleaner and faster when they are applied to a concrete problem rather than as abstract rules. It also presents performance concerns, especially data locality and cache-friendly layout, as part of ordinary design rather than a separate optimization step.

Written by Claude from what it knows of this book.

What Hacker News says 90% recommend · 1% critical

0102020122015202020262017 peak · 16
This bookAverage book in Game and graphics programming

In the commenters’ own words

What Open Library readers say 4.80 from 5 ratings

  1. 54
  2. 41
  3. 30
  4. 20
  5. 10
  • 47 want to read
  • 5 reading
  • 10 have read

Only 5 ratings: treat the average as a hint.

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2011
ISBN
9780990582908
Editions known
4 at Open Library
Open Library
OL19650342W

Computer gamesComputer scienceProgramming

Explore in the mosaic

Read next: its neighbours on the mosaic