# Mission — generate Pac-Man Multiplayer

Build a structured local demo project named **Agent Factory Pac-Man Multiplayer**.

The project must be generated by the ZTeam during a run under:

```text
reports/agent-factory-pacman-runs/<run_id>/project/
```

## Product target

A playable local browser game inspired by Pac-Man, designed for 2 to 4 players.

Core gameplay:

- maze/grid board;
- players move independently with keyboard mappings;
- pellets/points, score and round state;
- collision rules;
- ghosts or hostile obstacles;
- win/lose/end-round conditions;
- restart flow;
- clear controls screen.

## Technical target

Prefer a dependency-light local web project, for example:

- TypeScript game engine package or module;
- browser UI with Canvas or DOM rendering;
- tests for movement, scoring, collision and end-state logic;
- docs explaining architecture and how to play.

Optional real-time/network multiplayer is allowed only if the team can validate it locally. If not, implement local same-browser multiplayer first.

## Safety and scope

- Local-only by default.
- No external services, auth, secrets, telemetry, or remote writes.
- No dashboard/Mission Control observer app.
- No code generation in `examples/agent-factory-pacman-multiplayer/`.
- Final report must include validation commands and no-ship verdict.
