---
name: genre-playbooks
description: Use when a Pebble3D game request fits a known genre (racer, platformer, tower defence, physics puzzle, stealth, sandbox, arena brawler, horde action, demolition), at the build step of make-a-game, to reuse the shipped demo that already does that genre well.
---

# Genre playbooks

Each shipped demo in `apps/` is a worked answer to one genre. A playbook points you at that demo, names the systems the genre needs, the feel points that matter, and the checks that prove the genre works. It does not replace the demo: open it, read its README, and copy its structure before inventing your own.

Load this at the build step of [make-a-game](https://pebble3d.github.io/pebble3d/skills/make-a-game/SKILL.md), after [engine-pitfalls](https://pebble3d.github.io/pebble3d/skills/engine-pitfalls/SKILL.md). Polish comes later from [game-feel](https://pebble3d.github.io/pebble3d/skills/game-feel/SKILL.md) and the definition of done from [verify-your-work](https://pebble3d.github.io/pebble3d/skills/verify-your-work/SKILL.md); the playbooks only add what is specific to the genre.

## Pick the closest playbook

Read the brief (`apps/<name>/BRIEF.md`) and match the core verb, not the theme. A game about cats racing across rooftops is a platformer or a racer depending on whether the player steers a path or beats a clock.

| The player mainly...                                        | Playbook                            | Demo to study                               |
| ----------------------------------------------------------- | ----------------------------------- | ------------------------------------------- |
| Steers a vehicle against a clock or a ghost                 | [racer](https://pebble3d.github.io/pebble3d/skills/genre-playbooks/racer.md)                   | [drift-drone](https://github.com/pebble3d/pebble3d/tree/main/apps/drift-drone)       |
| Runs and jumps across platforms                             | [platformer](https://pebble3d.github.io/pebble3d/skills/genre-playbooks/platformer.md)         | [skyrun](https://github.com/pebble3d/pebble3d/tree/main/apps/skyrun)                 |
| Places defences and watches waves hit them                  | [tower defence](https://pebble3d.github.io/pebble3d/skills/genre-playbooks/tower-defence.md)   | [swarm-siege](https://github.com/pebble3d/pebble3d/tree/main/apps/swarm-siege)       |
| Sets up parts, then runs a machine                          | [physics puzzle](https://pebble3d.github.io/pebble3d/skills/genre-playbooks/physics-puzzle.md) | [chain-reaction](https://github.com/pebble3d/pebble3d/tree/main/apps/chain-reaction) |
| Sneaks past watchers to a goal                              | [stealth](https://pebble3d.github.io/pebble3d/skills/genre-playbooks/stealth.md)               | [lanternfall](https://github.com/pebble3d/pebble3d/tree/main/apps/lanternfall)       |
| Builds and edits freely with physics                        | [sandbox](https://pebble3d.github.io/pebble3d/skills/genre-playbooks/sandbox.md)               | [pebble-garden](https://github.com/pebble3d/pebble3d/tree/main/apps/pebble-garden)   |
| Shoves rivals in a shared arena (local multiplayer or bots) | [arena brawler](https://pebble3d.github.io/pebble3d/skills/genre-playbooks/arena-brawler.md)   | [ringout](https://github.com/pebble3d/pebble3d/tree/main/apps/ringout)               |
| Fights a crowd of melee enemies in waves                    | [horde action](https://pebble3d.github.io/pebble3d/skills/genre-playbooks/horde-action.md)     | [katana-defense](https://github.com/pebble3d/pebble3d/tree/main/apps/katana-defense) |
| Breaks structures with projectiles                          | [demolition](https://pebble3d.github.io/pebble3d/skills/genre-playbooks/demolition.md)         | [breakpoint](https://github.com/pebble3d/pebble3d/tree/main/apps/breakpoint)         |

Games often blend two genres. Pick the one that owns the core verb as the base and borrow single systems from the second (for example, a racer with a tower-defence-style upgrade screen).

## When none fits

There is no playbook for fighters, online multiplayer or any genre without a shipped demo. Do not invent one. Use the nearest playbook for structure and the cookbook in [docs/cookbook/](https://pebble3d.github.io/pebble3d/docs/cookbook/README.md) for single techniques, and say so: add a line to the assumptions in `BRIEF.md` such as "No playbook for this genre; built on the arena-brawler structure". Tell the developer in your first progress message too.

## How to use a playbook

1. Read the demo README end to end, then the cited source files.
2. Copy the sim/presentation split. The sim is deterministic and seeded; the view only reads it. Every playbook assumes this.
3. Build the genre's core systems first and cover them with sim tests before any art.
4. Before the feel pass, run the genre-specific checks in the playbook. They are in addition to the checks in [verify-your-work](https://pebble3d.github.io/pebble3d/skills/verify-your-work/SKILL.md), not instead of them.
