Build a game
You build Gametron games by describing them to an AI. It writes the code; you play-test and ask for changes.
No terminal? No problem. The Studio lets you chat with the builder and play your game side by side, right in the browser.
Open the StudioAdvanced: build with Claude Code
These steps use Claude Code. You need two terminal windows, and you only do steps 1-3 once.
- Install. In a terminal:
cd /app npm install
- Keep this website running. In the same terminal:
npm start
Leave that window open. Closing it stops the site and your test links. - Check your setup. Open a second terminal:
cd /app npm run doctor
Every line should start with ✓. If not, do what the "Fix:" line says. - Get your builder token. First save your account, then open your profile and press Make a builder token. It shows a command to copy.
- Start Claude Code in that second terminal:
GAMETRON_TOKEN=<your token> claude
When it asks about the gametron MCP server, approve it.
On Windows (PowerShell):$env:GAMETRON_TOKEN="<your token>"; claude - Check it's connected. Type
/mcpin Claude Code. You should see gametron connected. - Ask for a game. For example: "Make me a neon arcade game where you dodge falling meteors, with a leaderboard." Open the test link it gives you, ask for changes, and say "publish it" when you're happy.
Stuck? The README in the Gametron folder has a "If something goes wrong" table.
Starter cartridges
- Arcade Dodger arcade Dodge falling meteors, grab gems, survive as the pace ramps up. Leaderboard and saved best score built in.
- Blank Game experimental The smallest correct Gametron game: title, play and game-over scenes, score, leaderboard and theme, with comments showing where your game goes.
- One-Button Runner arcade One-button rhythm runner: tap on the beat to hop spikes and pits on a course synced to the music, which speeds up as you go. The go-to for one-button, rhythm and endless-runner ideas.
- Platformer platformer Tile-map platformer with tight jumping (coyote time + jump buffer), coins, spikes, flags, multiple levels and a speedrun leaderboard.
- Puzzle 2048 puzzle Slide-and-merge number puzzle with smooth animations, swipe controls, one-step undo, resume-on-reload and a high-score board.
- Space Flyer 3D 3d three.js endless flyer: steer through an asteroid field, thread rings for bonus points, speed keeps climbing. HTML HUD and leaderboard.
- Text Adventure story Branching story engine: data-driven story graph, typewriter text, inventory and flags, autosave, multiple endings. Ships with a short mystery.