Production-ready code · extracted from the curriculum
Pattern library.
Reusable patterns pulled straight out of the lessons — copy, adapt, and drop them into your own projects. From sprite handling to sound effects, the tricks that make retro games work.
36 patterns · 6 categories · 10 platforms
Browse by platform
Each platform has its own constraints and tricks. Find patterns tailored to your target machine.
Browse by category
Patterns organised by what they do — from rendering to audio to game logic.
Rendering
Sprites, scrolling, screen effects
10 patternsInput
Joystick, keyboard, mouse handling
6 patternsAudio
Music playback, sound effects
3 patternsPhysics
Collision, movement, gravity
6 patternsAI
Enemy behaviour, pathfinding
0 patternsFramework
Game loops, state machines, interrupts
11 patternsBrowse by skill level
Find patterns that match your experience, from foundational to expert.
Patterns vs Units vs Vault
Curriculum units
Step-by-step tutorials that teach you how to build games from scratch.
Start learning →Pattern library
Production-ready code snippets to copy and adapt for your own projects.
You're here