Capture the Flag
Two teams — Blue and Red — each defend a home base while trying to steal the other team’s flag.
How to play
Section titled “How to play”- Steal the flag — walk to the enemy’s flag spot (the small circle inside their base) to pick it up.
- Carry it home — run the flag back to your own base zone to score a point.
- Defend — tag an enemy flag carrier (get within 5 m of them) to make them drop it. The dropped flag resets: anyone can walk back to the flag spot to pick it up again.
All players start on even teams (auto-balanced as players join). There are no special roles — everyone attacks and defends simultaneously.
GM setup
Section titled “GM setup”Place one zone before starting:
| Zone | Purpose |
|---|---|
| Play Area | Overall arena boundary — both bases auto-place inside it |
When you place the play area, Blue Base (left third), Red Base (right third), and the two flag spots auto-place inside it. No extra placement needed.
- Coordinate: send some players to attack while others guard your base.
- Flag carriers glow yellow on the GM map, making them easy targets.
- After a drop, the flag resets immediately — send a teammate to pick it up before the enemy does.
For builders
Section titled “For builders”CTF is the flagship for the capture & carry pattern and the worked example in Tutorial: teams, items & interactions.
- Demonstrates: teams and
{ byTeam }scoring,itemTypes+items, auto walk-over pickups gated by team,spawn_item(atPointto reset,atto drop in place), and nested auto-placing bases/points. - Source:
apps/wage-engine/src/games/capture_the_flag/game.yaml