# Pawn Race: Two Strategies: Diagram element for AI agents

> Two approaches compared over time. Two pawns race on parallel tracks: each lane has its own moves per round (steady small steps against big irregular jumps); the one further along at the end is stamped "Ahead".

Canonical page: https://agentframes.ai/elements/tabletop/pawn-race/
Markdown: https://agentframes.ai/elements/tabletop/pawn-race.md

## Overview

- Name: Pawn Race: Two Strategies (`pawnRace`), an element: one HyperFrames block per size
- Part of: the [Tabletop](https://agentframes.ai/packs/tabletop.md) pack (38 of 50). Available only through the All-access subscription.
- Category: Diagram
- Purpose: Two approaches compared over time. Two pawns race on parallel tracks: each lane has its own moves per round (steady small steps against big irregular jumps); the one further along at the end is stamped "Ahead".
- Pack: [Tabletop](https://agentframes.ai/packs/tabletop.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on Cream table (cream linen, white board) (`cream`), Kitchen table (pale oak, pastel pieces) (`kitchen`), Sky table (pale blue, white board, bright pieces) (`sky`); avoid none
- Typical duration: 7s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/tabletop/pawn-race.mp4
- Poster: https://agentframes.ai/media/tabletop/pawn-race.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Tabletop pack. Add a `pawnRace` beat to plan.json on a `cream` canvas with slots `label`, `title`, `length`, `a`, `b` and `stamp` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `label` | string | label | {"type":"string","minLength":1,"maxLength":20} | Round 4 |
| `title` | string | title | {"type":"string","minLength":1,"maxLength":40} | Steady saver vs big splurger |
| `length` | number | length | {"type":"integer","minimum":4,"maximum":9} | 8 |
| `a` | string | a | JSON string. {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"moves":{"type":"array","minItems":1,"maxItems":6,"items":{"type":"integer","minimum":0,"maximum":6}}},"required":["label","moves"]} | {"label":"Monthly saver","moves":[1,1,1,1,1,1]} |
| `b` | string | b | JSON string. {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"moves":{"type":"array","minItems":1,"maxItems":6,"items":{"type":"integer","minimum":0,"maximum":6}}},"required":["label","moves"]} | {"label":"Big one-offs","moves":[3,0,0,1,0,0]} |
| `stamp` | string | stamp | {"type":"string","minLength":1,"maxLength":10} | Ahead |

## What your agent can change

**Pawn Race: Two Strategies**. Native 1920×1080, 7s at 30fps.

Two approaches compared over time. Two pawns race on parallel tracks: each lane has its own moves per round (steady small steps against big irregular jumps); the one further along at the end is stamped "Ahead".

**Motion.** Squares are set down; both pawns drop; on each round each pawn makes its move as quick hops (crouch, arc, squash); the stamp comes down on the leader.
**Why it moves.** change + character: seeing two pawns side by side makes "slow and steady" against "all at once" obvious.

### Mount

Copy every manifest file into your project (plus `af-tabletop-runtime`). Mount with a unique host id, `data-composition-id="af-tabletop-pawn-race-16x9"`,
`data-composition-src="compositions/af-tabletop-pawn-race-16x9.html"`, `data-duration="7"` and `data-variable-values`.
Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.

### Content slots

Nested slots are JSON strings. Every slot is checked against `constraints.json` and measured against the layout before anything
draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

- `label`: {"type":"string","minLength":1,"maxLength":20}
- `title` (required): {"type":"string","minLength":1,"maxLength":40}
- `length`: {"type":"integer","minimum":4,"maximum":9}
- `a` (required): {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"moves":{"type":"array","minItems":1,"maxItems":6,"items":{"type":"integer","minimum":0,"maximum":6}}},"required":["label","moves"]}
- `b` (required): {"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":16},"moves":{"type":"array","minItems":1,"maxItems":6,"items":{"type":"integer","minimum":0,"maximum":6}}},"required":["label","moves"]}
- `stamp`: {"type":"string","minLength":1,"maxLength":10}

- Each lane's moves are squares per round; they must not add up to more than `length - 1`. The lane further along at the end gets the stamp.

Style: `colourway` (cream, kitchen, sky), `accent` (optional hex), `footer`, `round` (e.g. 3/5), `exit` (lift or cut).

### Timing

7s. Everything has landed by 4.2s (60%), then the scene holds for reading (the lamp light drifts slowly over the table;
text stays still) and every piece is lifted off the table over the last 0.5 s, leaving the empty table.

### Example

```json
{
  "label": "Round 4",
  "title": "Steady saver vs big splurger",
  "length": 8,
  "a": "{\"label\":\"Monthly saver\",\"moves\":[1,1,1,1,1,1]}",
  "b": "{\"label\":\"Big one-offs\",\"moves\":[3,0,0,1,0,0]}",
  "stamp": "Ahead"
}
```

## FAQ

### What can my AI agent change in Pawn Race: Two Strategies?

Your agent fills the `label`, `title`, `length`, `a`, `b` and `stamp` slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Tabletop look.

### Which aspect ratios does Pawn Race: Two Strategies support?

Pawn Race: Two Strategies is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 7s.

### How do I get Pawn Race: Two Strategies?

Pawn Race: Two Strategies is included in the Tabletop pack, which is part of the AgentFrames All-access subscription along with 49 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Tabletop

- [Step Flow: The Pawn Walks the Track](https://agentframes.ai/elements/tabletop/step-flow.md): Two to five steps in order as squares on a track. The pawn drops onto the first square and hops square by square, landing on each step's cue; each square flips over as the pawn lands to reveal its step. In 9:16, 4:5 and 1:1 the track runs across the top and each step is set down below as a numbered card.
- [Cycle: A Lap of the Board](https://agentframes.ai/elements/tabletop/cycle-loop.md): A loop of three to six stages as squares round a loop board with arrows on the track. The pawn drops onto the first square and hops one full lap; each square dips as it lands; when the lap closes the centre word is set down on a big chip.
- [Hub and Spoke: Cards Dealt from the Chip](https://agentframes.ai/elements/tabletop/hub-spoke.md): One idea and what it connects to. A big poker chip holding the idea is set down in the middle, then three to six cards are dealt out of it to their places and the board lines draw behind them.
- [Decision: Fork in the Board](https://agentframes.ai/elements/tabletop/decision-branch.md): A choice and its two outcomes. The question is on the header card; the pawn drops onto the fork square, rocks toward one lane and then the other, the two lanes draw down to two outcome cards, then the pawn hops down the chosen lane onto its card and the other card dims.

## Community

Coming soon.
