How Games Work icon

How Games Work

Learn game dev by playing

33 small, playable lessons that show how real games work: physics, cameras, AI, rendering, maths and computer science. Each one is a level that explains itself. Poke it, break it, and see why.

iOS C++ Lua
Coming Soon to the App Store
Lessons grouped by topic

33 lessons, 7 topics

The Showcase scene

Knock it all down

A* pathfinding lesson

Watch A* search

How it works page on quaternions

How it works, for every lesson

Breadth-first and depth-first search side by side

Algorithms you can see

// Features

Lessons you play

Every lesson is a small level. Signs sit next to the thing they describe, live numbers float above moving objects, and sliders let you change the values that matter and watch what happens.

Game development

Character controllers and coyote time, cameras, rigid body physics, raycasts and triggers, the game loop and delta time, HUDs, game feel, saving, state machines, pathfinding, steering and procedural generation.

Maths

Vectors, trigonometry, matrices, coordinate systems, quaternions, curves, probability and projection, drawn in the world as you change them.

Computer science

Binary, how work grows (Big O), hash tables, recursion, sorting, graph search, spatial partitioning and logic gates up to a full adder.

Look inside the engine

Step through a frame one render pass at a time, or pause the physics between stages to see contacts being found and solved. It runs on Lumos, a C++ engine with a Vulkan renderer.

Quiz and glossary

Every lesson has a "How it works" page, and more than 180 quiz questions with streaks and the reason behind every answer test what stuck.

No ads, no accounts, no tracking

Everything runs on your device and works offline. Nothing about you is collected.