Minigame examples
Reference games that match the phase-1 SDK and hard gates. Source ZIPs are maintained with Caught engineering; use this catalog to see what each published-style game configures and which outcomes it declares.
| Example | Gameplay | Declared outcomes |
|---|---|---|
| Pong | Best-of vs AI; orientation auto / horizontal / vertical; colours; name / explanation / win·lose text / optional logo | win, lose |
| Memory | Pair matching vs timer; required card images | win, lose |
| Dino Jump | Runner; 3 attempts; win if a run lasts ≥ 60s | win, lose |
| Flappy Bird | Flap through pipes; same 60s / 3 attempts rule | win, lose |
| Codebreaker | Mastermind-style (RGBYOP) | win, lose |
| Connect | Match left↔right columns (matchColumns) | win, lose |
| Maze | Path to end; difficulty 0–10 | win, lose |
| Unblock Me | Slide-block puzzle | win, lose |
| Word Search | Anagram tiles | win, lose |
| Keypad | Digit pad / code entry | win, lose |
| Safe | Combination dial safe | win, lose |
Each catalog cover is a root cover.png / cover.jpg / cover.webp in the ZIP.
Versioning: example manifests start at 1.0.0. Any change to a game’s sources must bump version (PATCH for fixes, MINOR for additive compatible inputs) — Caught rejects equal or lower versions for the same name.
Boot: keep the body hidden (html:not(.cg-ready)) until onInit finishes CaughtGame.preloadImages, then add cg-ready. Blank screen until then — no loading splash.
Embedded assets: optional chrome only under assets/. Required gameplay content uses author uploads plus review mock placeholders.
Shared author inputs (Pong / Dino Jump / Flappy Bird)
| Field | Type | Notes |
|---|---|---|
gameName | optional stringTranslateable (format: line) | ≤20 chars / language |
explanation | optional stringTranslateable (format: paragraph) | ≤250 chars / language |
winCaption / loseCaption | optional stringTranslateable | ≤40; overlay end-screen titles |
winText / loseText | optional stringTranslateable (paragraph) | ≤80; overlay body; End/Finish → complete |
logo | optional image | 0–1 image, max 250×250; hidden when unset |
Pong extras
| Field | Type | Notes |
|---|---|---|
orientation | optional string + options | auto, horizontal, or vertical |
bestOf | optional string + options | 1 / 3 / 5 / 7 / 9 (default 5) |
difficulty | optional string + options | 0–10 or easy / medium / hard |
| Colours | optional color | background, scoreColor, outlineColor, paddleColor1, paddleColor2, ballColor |
Player label uses `${player.displayName} (${team.name})`. Colours come from author color inputs (not the adventure theme).
Memory
| Field | Type | Notes |
|---|---|---|
cardImages | required image | 4–24 (one per pair); review mock = placeholders |
cardBack | optional image | empty → CSS default pattern |
timerMinutes | optional string | 1–10 (default 3) |
| Colours / copy | optional | background, textColor, accentColor, win/lose captions |
Win if all pairs are found before the countdown ends.
Connect
Left/right columns are required stringImageListTranslateable lists (itemMode: "either", ≥2 rows). Caught enforces equal lengths via inputConstraints.matchColumns (leftItems / rightItems, 2–10 rows).
Other examples (summary)
| Example | Notable inputs |
|---|---|
| Dino Jump / Flappy Bird | Shared copy/logo inputs; win if any of 3 attempts lasts ≥ 60s |
| Codebreaker | Optional fixed secretCode (RGBYOP); attempts and per-guess timer |
| Maze | Path characters, difficulty 0–10, colours; respects TL/TR safe zones |
| Unblock Me | Built-in difficulty puzzles; optional timer |
| Word Search | Anagram tiles; intro + in-play info control |
| Keypad | Required digit answer (2–12); attempts; pad/page colours |
| Safe | Required dial combination (numbers 0–39 separated by dashes) |