Platform overview
How AI Chat Games works — the kinds of games you can build, how the engine runs your code, and where to look next.
AI Chat Games lets you build interactive, AI-driven experiences and play them in the browser. You describe what you want, the coding agent writes the game, and the engine runs it on our infrastructure — no servers to manage, no model APIs to wire up.
What you can build
- Characters and companions — one-on-one chat with an AI character who has a real personality and remembers you.
- Casts that think for themselves — scenes and dramas where every character has its own goals and private knowledge, not one narrator playing puppets.
- Text-based RPGs and adventures — quests, missions, and branching stories, with scene art generated as you play.
- Illustrated interactive stories — narrative dramas with consistent character portraits and on-the-fly illustration.
- Mysteries you can genuinely solve — a fresh, internally consistent mystery authored each playthrough, with suspects who lie for their own reasons.
- Tabletop-style play — turn-based games with dice, cards, hidden information, AI rivals, and AI judges.
- Games that live in real time — pets, people, and worlds with needs, moods, and growth that keep evolving while you're away (see
background-play).
Games here are turn-based and low-graphics by design — the engine isn't built for real-time action, physics, or 3D. how-games-work covers what fits and what doesn't.
How it runs
Each game is a small TypeScript project composed of two parts:
- The frontend: a React component that renders inside an iframe (in the Game Studio) or dedicated browser window (in full screen mode). The frontend renders state and emits input events (e.g. "the user clicked the button").
- The backend: a reducer that receives game events and updates the game state accordingly.
Where to look next
creating-games— the hands-on walkthrough: describe a game, iterate by chatting, publish it.how-games-work— the full mental model: events, ticks, sessions, and where the AI sits.background-play— games that keep living while you're away, and the controls that govern them.