# Game Over: The Win Screen: Section title element for AI agents

> The end of the video as a win screen: a card is set down, a trophy chip drops onto it, the final score counts up with a chip spray, and a green play-again button is pressed.

Canonical page: https://agentframes.ai/elements/tabletop/game-over/
Markdown: https://agentframes.ai/elements/tabletop/game-over.md

## Overview

- Name: Game Over: The Win Screen (`gameOver`), an element: one HyperFrames block per size
- Part of: the [Tabletop](https://agentframes.ai/packs/tabletop.md) pack (39 of 50). Available only through the All-access subscription.
- Category: Section title
- Purpose: The end of the video as a win screen: a card is set down, a trophy chip drops onto it, the final score counts up with a chip spray, and a green play-again button is pressed.
- 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: 6.5s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/tabletop/game-over.mp4
- Poster: https://agentframes.ai/media/tabletop/game-over.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Tabletop pack. Add a `gameOver` beat to plan.json on a `cream` canvas with slots `title`, `score`, `text`, `action`, `prefix`, `unit` and `decimals` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `title` | string | title | {"type":"string","minLength":1,"maxLength":16} | You win! |
| `score` | number | score | {"type":"number","minimum":0,"maximum":1000000000} | 3870 |
| `text` | string | text | {"type":"string","minLength":1,"maxLength":70} | Your £1,000 after 20 rounds, just by leaving it alone. |
| `action` | string | action | {"type":"string","minLength":1,"maxLength":26} | Play again: follow |
| `prefix` | string | prefix | {"type":"string","minLength":1,"maxLength":3} | £ |
| `unit` | string | unit | {"type":"string","minLength":1,"maxLength":6} |  |
| `decimals` | number | decimals | {"type":"integer","minimum":0,"maximum":2} | 0 |

## What your agent can change

**Game Over: The Win Screen**. Native 1920×1080, 6.5s at 30fps.

The end of the video as a win screen: a card is set down, a trophy chip drops onto it, the final score counts up with a chip spray, and a green play-again button is pressed.

**Motion.** The card is set down; the trophy chip spins in and is set down; the score counts (ease-out) and squashes at the end; chips spray; the button is set down and pressed onto its shadow.
**Why it moves.** attention: ending on a win screen rewards the viewer and points them at the next action.

### Mount

Copy every manifest file into your project (plus `af-tabletop-runtime`). Mount with a unique host id, `data-composition-id="af-tabletop-game-over-16x9"`,
`data-composition-src="compositions/af-tabletop-game-over-16x9.html"`, `data-duration="6.5"` 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).

- `title` (required): {"type":"string","minLength":1,"maxLength":16}
- `score` (required): {"type":"number","minimum":0,"maximum":1000000000}
- `text`: {"type":"string","minLength":1,"maxLength":70}
- `action`: {"type":"string","minLength":1,"maxLength":26}
- `prefix`: {"type":"string","minLength":1,"maxLength":3}
- `unit`: {"type":"string","minLength":1,"maxLength":6}
- `decimals`: {"type":"integer","minimum":0,"maximum":2}

- `score` counts up with `prefix`/`unit`.

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

### Timing

6.5s. Everything has landed by 3.9s (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
{
  "title": "You win!",
  "score": 3870,
  "text": "Your £1,000 after 20 rounds, just by leaving it alone.",
  "action": "Play again: follow",
  "prefix": "£",
  "unit": "",
  "decimals": 0
}
```

## FAQ

### What can my AI agent change in Game Over: The Win Screen?

Your agent fills the `title`, `score`, `text`, `action`, `prefix`, `unit` and `decimals` 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 Game Over: The Win Screen support?

Game Over: The Win Screen is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 6.5s.

### How do I get Game Over: The Win Screen?

Game Over: The Win Screen 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

- [Opening Hook: Box Lid + Start Square](https://agentframes.ai/elements/tabletop/opening-hook.md): Opens the explainer like a new game: the box lid is dealt onto the table with the level pill, the title (one word printed in pawn red) and a kicker, then a start square is set down, the pawn drops onto it and a die tumbles in and lands.
- [Definition: Rule Card Flip](https://agentframes.ai/elements/tabletop/definition.md): Defines a term on a rule card. The deck is set down, the top card is drawn off it and flipped face up: the tag, the term in display type and its meaning line by line.
- [Takeaway: The Winning Rule](https://agentframes.ai/elements/tabletop/takeaway.md): Ends the explainer on the winning-rule card: dealt onto the table with the key word printed in green, then the call to action arrives as a big yellow button that is pressed, chips fly, and the handle rises below.
- [Level Card: Chapter Opener](https://agentframes.ai/elements/tabletop/level-card.md): Opens a chapter. A wide card is dealt onto the table with the level number on a blue tile, a level pill and the chapter title (one word can be marked in red); then the round tracker under it fills, dot by dot, up to the level.

## Community

Coming soon.
