Pattern Library
Production-ready code for retro games
Reusable patterns extracted from the curriculum. Copy, adapt, and use in your own projects — from sprite handling to sound effects.
32
Patterns
6
Categories
4
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
8 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
9 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