Four games with everything a game has: a title screen, the rules, a score, lives or a stack that fills, a game over and a way back to the start. They combine sprites, backgrounds, input, collision, a HUD, sound and a state machine. Study them after the topic examples and the demos.
| Example | Difficulty | Description |
|---|---|---|
| breakout | Intermediate | Breakout: paddle, ball, destructible bricks, levels, score and lives |
| blocks | Intermediate | Falling-blocks puzzle with three BG layers, delayed auto-shift input and SNESMOD music |
| rooftop_run | Advanced | Kit's Rooftop Run: a scrolling platformer with shards to pick up, machines to stomp, three lives, checkpoints and a beacon to reach |
| shard_dash | Intermediate | Grab five shards against the clock: one C file per screen, a screen layer, a checksummed save and a test per screen |
Start with breakout for a self-contained game loop, then blocks for three layers, timed input and music, then rooftop_run for a world bigger than the screen.
Blocks Breakout rooftop_run — Kit's Rooftop Run shard_dash — a game in several files, with a test for each screen