Skip to main content

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.

ExampleGameplayDeclared outcomes
PongBest-of vs AI; orientation auto / horizontal / vertical; colours; name / explanation / win·lose text / optional logowin, lose
MemoryPair matching vs timer; required card imageswin, lose
Dino JumpRunner; 3 attempts; win if a run lasts ≥ 60swin, lose
Flappy BirdFlap through pipes; same 60s / 3 attempts rulewin, lose
CodebreakerMastermind-style (RGBYOP)win, lose
ConnectMatch left↔right columns (matchColumns)win, lose
MazePath to end; difficulty 0–10win, lose
Unblock MeSlide-block puzzlewin, lose
Word SearchAnagram tileswin, lose
KeypadDigit pad / code entrywin, lose
SafeCombination dial safewin, 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)​

FieldTypeNotes
gameNameoptional stringTranslateable (format: line)≤20 chars / language
explanationoptional stringTranslateable (format: paragraph)≤250 chars / language
winCaption / loseCaptionoptional stringTranslateable≤40; overlay end-screen titles
winText / loseTextoptional stringTranslateable (paragraph)≤80; overlay body; End/Finish → complete
logooptional image0–1 image, max 250×250; hidden when unset

Pong extras​

FieldTypeNotes
orientationoptional string + optionsauto, horizontal, or vertical
bestOfoptional string + options1 / 3 / 5 / 7 / 9 (default 5)
difficultyoptional string + options0–10 or easy / medium / hard
Coloursoptional colorbackground, scoreColor, outlineColor, paddleColor1, paddleColor2, ballColor

Player label uses `${player.displayName} (${team.name})`. Colours come from author color inputs (not the adventure theme).

Memory​

FieldTypeNotes
cardImagesrequired image4–24 (one per pair); review mock = placeholders
cardBackoptional imageempty → CSS default pattern
timerMinutesoptional string1–10 (default 3)
Colours / copyoptionalbackground, 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)​

ExampleNotable inputs
Dino Jump / Flappy BirdShared copy/logo inputs; win if any of 3 attempts lasts ≥ 60s
CodebreakerOptional fixed secretCode (RGBYOP); attempts and per-guess timer
MazePath characters, difficulty 0–10, colours; respects TL/TR safe zones
Unblock MeBuilt-in difficulty puzzles; optional timer
Word SearchAnagram tiles; intro + in-play info control
KeypadRequired digit answer (2–12); attempts; pad/page colours
SafeRequired dial combination (numbers 0–39 separated by dashes)

Next​