Build a game with AI
Ask an AI agent to build the game and say where to open it, for example "build a space invaders game and open it in the browser": it writes the game and opens it for you to play. Then say what to change in the same chat.
Say what to build, and where to open it
Name the game (or the kind of game) and say where you want it, so the agent builds it and opens it rather than only describing it:
Build a space invaders game and open it in the browser.
Build a snake game and open it in the HTML editor in Circuitry on my phone.
The browser runs it so you can play; the HTML editor shows the page's code with a preview, so you can see and change what was written.
With Circuitry AI
Any devicePaid plan
- Type the game into the Ask box, for example:
Build a game where I tap to fly through gaps in pipes, and open it in the browser.
- If Ask asks where it should live, choose HTML document. A game is one page, so it needs no project.
- The agent writes the page and opens it in a browser tab beside the chat.
- Play it, then ask for changes: "make the gaps bigger and add a score". The agent edits the page and reloads the tab.
On the desktop app, with your own AI
Desktop appYour own AI
- Open the chip in the Ask box (it says Auto until you pick something) and choose your coding agent, such as Claude Code or Codex. Not installed yet? Choose Set up AI… and Circuitry installs the one you pick.
- Type the game into the Ask box.
- If Ask asks where it should live, choose New project. The agent builds the game in that folder on your computer.
- The first time, the agent asks you to sign in. See Use an AI subscription you already have.
- The agent writes the files and opens the game for you to play. Ask for changes in the same chat.
From your phone or tablet, built on your computer
Phone or tabletYour computer (Circuit)Your own AIPaid plan
The coding agent runs on your computer; your phone or tablet drives it.
- Pair the device with your computer. See Connect your phone or tablet to your computer.
- Open the chip in the Ask box. The coding agents installed on that computer are in the list; pick one.
- Type the game into the Ask box. The agent builds it on the computer, and the game opens in a browser tab on your phone or tablet.
The computer has to be on and awake while the agent works.
Related
- Build something in five minutes: the same walk-through, step by step
- Testing in the browser: how the agent clicks through the game to check it works
- Run AI on your own computer
- What works on each device