finds.dev

munificent/game-programming-patterns

Source repo for the book

View on GitHubHomepage ↗

★ 4,504HTMLNOASSERTIONupdated Jul 2024

// the take

Source repo for Robert Nystrom's Game Programming Patterns book, which covers 20 patterns common in game codebases — things like game loop, component, bytecode, and dirty flag — with C++ examples and clear diagrams. It's a finished book, not a library, so you're here to read it, not import it. The web version at gameprogrammingpatterns.com is free.

The pattern selection is genuinely game-specific — it doesn't just rehash GoF. Data Locality and Dirty Flag chapters are better explanations of those techniques than most blog posts. The C++ code samples are minimal and focused; no framework noise, just the pattern. Nystrom explains the tradeoffs honestly, including when not to use a pattern.

The repo is effectively archived — the author said so in the README and stopped responding to issues. The build tooling requires Python 2.7, which is end-of-life, so good luck getting the local build to run without patching the format script. No coverage of modern game engine realities like ECS at scale, GPU-driven rendering patterns, or anything post-2014. If you want to contribute a fix, it will sit unmerged.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
4,504
Forks
513
Language
HTML
License
NOASSERTION
Last commit
21 Jul 2024

// nearby

If game-programming-patterns isn't quite it.

All repos →