Game Programming Patterns By Bob Nystrom

Based on years of experience in AAA shipped titles, this book compiles proven patterns to unravel and optimize your game, organized as stand-alone recipes, so you can choose only the patterns you need.

Write a robust game loop, how to organize your entities using components and take advantage of the CPUs cache to improve their performance. Delving into how scripting engines code behavior, how quadtrees and other spatial partitions optimize their engine, and how other classic design patterns can be used in games are some sections covered in this book.