How to

How to vibe-code a Chromatic game

You describe the game. An AI agent writes the code. You play it, say what feels wrong, and repeat until it is yours. There are two ways to do it, and both are on this page.

You talk. The agent codes.

What vibe coding is

Vibe coding means building software by talking to an AI agent instead of typing the code yourself. You decide what the game is and how it should feel. The agent writes, builds and fixes.

It suits a Chromatic well. The hardware is small, the rules are strict, and you see at once whether the result runs.

Pick your way

Both ways end in the same place: a game in your own repository that runs on a Chromatic.

Way 1

In the ChatGPT or Claude app

What you need

  • A ModRetro Chromatic: Codex Edition, if you want your game on a cartridge. It comes with a programmable cartridge and an activation code.
  • A computer to connect it to.
  • The ChatGPT desktop app with a plan that includes Codex, or the Claude app with a paid plan. Pick one of the two below.
  • No handheld yet? You can still build and test in an emulator.
Official route

ChatGPT app

Codex works inside the ChatGPT desktop app. The ModRetro Chromatic plugin gives it what it needs to build, test and flash a game.

Your own route

Claude app

Claude Code works in the Code tab of the Claude app. There is no official plugin: it builds a GB Studio project, or a game in C with GBDK, as a ROM you test in an emulator. ModRetro's guide only describes flashing through the Codex plugin.

Set it up

In the ChatGPT app

  1. Update the firmware

    Download the Chromatic Firmware Updater from ModRetro and follow its steps.

  2. Activate Developer Mode

    In the updater, press Ctrl I (Cmd I on macOS) and enter the activation code that came with your handheld. Developer Mode is at your own risk.

  3. Install the ChatGPT app

    Codex runs inside it. Get it from chatgpt.com/codex (on Windows it comes from the Microsoft Store) and sign in with your ChatGPT account.

  4. Add the plugin

    Open the Plugins tab on the left, search for ModRetro Chromatic and press Install. Then ask Codex to set it up and fetch whatever is missing.

Set up

Set up @ModRetro Chromatic Plugin so I can create games, build ROMs, and run automated playtests. Check what's already installed and prepare the missing dependencies.

In the Claude app

  1. Install the Claude app

    Download it from claude.com/download and sign in. Claude Code needs a paid plan, such as Pro or Max: the free plan does not include it.

  2. Open the Code tab

    Choose an empty folder for your game as the project folder.

  3. Pick the tools

    Ask for a GB Studio project, or a game in C with GBDK, built as a ROM you can open in an emulator.

Build your game

In the ChatGPT app, start a new chat, type @ and pick the ModRetro Chromatic plugin. In the Claude app, start a session in your game's folder. Then say what you want to play.

  • Start with one screen and one mechanic.
  • Say what every button does.
  • Change one thing at a time, and play after each change.
  • Ask the agent to check your art against the hardware limits.
  • Keep every build that works.
Start

Create a new GB Studio project. One screen: a lighthouse keeper moves left and right and catches falling sparks. A jumps.

Steer

The jump feels heavy. Make it floatier, then build it again so I can try it.

Check

Go through all backgrounds and sprites and fix whatever will not fit on the hardware.

Test it, then flash it

Streaming to the handheld and flashing go through the ModRetro plugin in the ChatGPT app.

  1. In an emulator

    Ask the agent for a playable preview in your browser and leave it open while you make changes.

  2. On the handheld

    Have the game streamed to your connected Chromatic to feel the controls, picture and sound. It runs in an emulator on your computer.

  3. On a cartridge

    Happy with a build? Have it flashed to your cartridge, then check boot, gameplay and audio by hand.

Way 2 · Beta

Vibe Retro Studio

Free, for Windows 10 and 11. One installer sets up everything, and the agents run on your own subscription. There is no account with us.

See the app →

Download and install

  1. Download it

    Get the installer from the Studio page or straight from GitHub. It is about 125 MB.

  2. Let Windows run it

    Studio is not signed yet, so Windows may say it protected your PC. Click More info, then Run anyway.

  3. Click Install

    Tick the agents you want: Claude Code, Codex or both. The installer also sets up Git and GitHub CLI, and brings the compiler along. What is there already stays as it is. If Windows asks for permission, choose Yes.

Claude Code needs a paid Claude plan. Codex needs a ChatGPT plan that includes it, such as Plus or Pro.

Sign in, in Studio

Studio starts by itself when the installer is done. You never type a command.

  1. Your agent

    Studio shows what is ready. Click Sign in next to Claude Code or Codex, and sign in with your Claude or ChatGPT account in the browser that opens. If the browser shows a code, paste it in Studio.

  2. GitHub, when you save

    No account yet? Sign up for free at github.com. Studio asks you to sign in the first time you save a game, and shows a short code to enter in your browser.

  3. Later

    Accounts and tools, under Your games, is where you add another account or sign out.

Studio uses your own logins and never asks for a password or a token.

Your first game

  1. Read the notice

    The first time, Studio explains what working with AI means. Tick the box and agree. You can already read it on the Studio page.

  2. Describe it

    Studio makes your first game right away, in Vibe Retro Games in your user folder. Choose Help me get started for a few quick questions, or Start blank and say it in your own words. Have a picture of how it should look? Add it to your message, and the game is built on that picture. Without one, Codex designs a look first when it works on your game. Pick Claude, Codex or both together.

  3. Play it

    As soon as it builds, your game runs on the screen: Enter is Start, the arrows move, and Z and X are A and B. Say what feels wrong and play again. Undo last change takes you back one version at a time.

  4. Work together

    Click Together next to the agent tabs, and both work on every change: the other agent makes the look first, then the agent whose tab is open writes the game. The gear next to it is Settings: turn Claude or Codex on and off, and choose which one a game opens with.

  5. Save it

    Click your game's name at the top and choose Save to GitHub. The first time, it gets a public repo on your account. Until you save, your game stays on this computer.

On your Chromatic

Studio talks to your handheld with ModRetro's own tools. Click Chromatic next to the screen to begin.

  1. Connect it

    Plug your Chromatic in with a USB-C cable that carries data, switch it on and choose Find my Chromatic. The first time, Studio fetches ModRetro's tool for this. If Windows needs ModRetro's USB driver, Studio offers to install it.

  2. Stream it

    Stream to handheld runs your game on your computer and plays it on the handheld, with its buttons, screen and sound, for up to five minutes. Nothing is written to the cartridge. Stop streaming first sets your Chromatic back, which takes a few seconds. If it ever keeps showing Waiting to connect, unplug the cable and take the batteries out for a few seconds.

  3. Flash it

    Flash to cartridge erases the game on your programmable cartridge and writes yours. Saves on it may be lost, and no backup is made. Keep the cable in until it is done. Writing is slow, about a minute for every 2 KB of your game: a 32 KB game takes about 17 minutes. Studio shows how far it is, and remembers what it wrote: flashing the same build again first asks if that is needed. To try a change, stream it instead.

  4. Firmware and Developer Mode

    Update firmware opens ModRetro Updater. Flashing also needs Developer Mode on your computer: in the updater, press Ctrl I and enter the activation code from your Codex Edition box. When it says One last thing, unplug the cable, take out the batteries for a few seconds and put them back. Then close the updater: you do not need to update again.

Flashing needs a ModRetro Chromatic: Codex Edition, which comes with a programmable cartridge and an activation code. Studio never asks for that code.

Updates

Studio keeps itself and its tools up to date. Each time it opens, its start window comes first, in the look of the installer, and looks at Studio, Claude Code, Codex, GitHub CLI and Git. A new version of Studio from its releases on GitHub downloads and installs right there, and the new version opens; choose Later and it waits at the top instead. Updates of the tools go in in the same window; for GitHub CLI and Git, Windows may ask if that is OK. A tool that is running elsewhere, such as Codex in another app, is updated another time. A version of Studio that comes out while you work waits at the top as Restart to update: Studio closes, the start window puts it in, and Studio opens again. Your games and settings stay where they are.

For both

Whichever way you pick

Know the limits

Mention these in your first prompt. They shape the whole game. Studio already gives them to the agents.

160×144pixels on screen
20×18tiles of 8 by 8 pixels
4 per tilecolours in one palette
8 + 8palettes for backgrounds and sprites
40sprites on screen
10sprites per scanline

Link it here

  1. Make a public repository

    Put your project on GitHub or another public Git host, with a licence and a short README.

  2. Publish your ROM as a release

    Attach the .gb or .gbc file to a release in your repository. That is the file players will get.

  3. Link it here

    Paste your repository address and your game gets a page of its own on Vibe Retro Games. The ROM stays with you.

Linking opens soon. Only games you vibe-coded yourself are allowed, so read the rules first.

Official sources