Minigames
Caught can run reviewed HTML/CSS/JavaScript minigames fullscreen inside the player app. Games are isolated on a dedicated games origin, talk to Caught through a small SDK, and finish with declared outcomes that Caught maps to Properties.
tip
Adventure authors: start with the Play minigame action and the Minigames catalog in the platform manual. This section is for building minigames.
How it works
- Untrusted game code never shares the Caught player origin.
- Games declare and report outcomes (
win/lose/draw); Caught awards Properties on the action server-side. - Authors pick a minigame by name. Only one published version is live per name; players always get the latest.
- Declared
inputsandoutcomesmust evolve compatibly under the same name. - External network from games is denied by default (CSP).
Who should read what?
| Audience | Start here |
|---|---|
| Adventure authors | Play minigame, catalog |
| Game developers | SDK overview, Bundle & manifest, Submission checklist, Examples |
| AI / agents generating games | Agent game creation |
Phase 1 capabilities
| You can | Notes |
|---|---|
| Play published minigames in an adventure | Via Play minigame |
| Configure declared inputs | Modal on the action |
| Map win / lose / draw to Properties | Only outcomes the game declares |
| Abort with fail / skip / reset | Author On abort setting |
| Submit a ZIP for Caught-root review | See Submission checklist |
Not yet: version pin on actions, rank/place outcomes, tenant self-publish, network allowlists, or awarding Properties directly from game code.