How to make a cozy farming game with AI (a real Game Boy Advance test)
Also in: Español · Deutsch · Français · Português · Italiano · Nederlands · Svenska · Norsk · Bahasa Indonesia · Türkçe · Polski · Tiếng Việt · Русский · 日本語 · 한국어 · 繁體中文
To make a cozy farming game with AI, open Shiny Gen, start a new game on the GBA Engine, and describe the farm in the Agent tab: the map, the crops, what a day is, how you earn money and the look. The AI agent writes the game, draws the pixel art as code, compiles a real Game Boy Advance cartridge, plays it and fixes what it finds. We did that for this guide. Five messages gave Sunny Acres: a farmer with a house, a fenced field of nine plots, a pond, a seed stall and a shipping box, turnips and carrots to till, plant, water and harvest, days that end when you go to bed, a chicken that lays an egg each morning, and rain that waters the crops. It took about fourteen minutes of agent time and about 160 gems.

The test: five messages, one farm
Everything below is from one real session on 27 November 2026, recorded in the Shiny Gen app. The prompts are copied word for word, the AI's messages are quoted from the chat, and the pictures are screenshots of the app. Nothing was edited by hand.
| Message | What we sent | Agent time | Gems |
|---|---|---|---|
| 1 | The farm, with the art asked for up front | 8 min 56 s | 10 |
| 2 | "continue" | 56 s | 41 |
| 3 | "continue" | 1 min 20 s | 51 |
| 4 | A chicken coop and rain | 3 min 3 s | 54 |
| 5 | "continue" | 6 s | 5 |
Step by step: the farming game we made
1. Start a GBA game
Press +, choose New, then pick GBA Engine on the Choose an engine screen. In a browser, this link opens a new GBA game directly. The Agent tab is where you talk to the AI.
2. Describe the farm, art included
Our first prompt, exactly:

A farming game is a loop: work the field, wait for days to pass, sell, buy, repeat. The prompt names each part of that loop, plus the map, the controls and the look.
3. The agent finds why the buttons did nothing
The agent wrote the game and the art in one go and built it. The title screen drew correctly, but pressing Start did nothing. Instead of guessing, it added a probe to the game to read the buttons directly:
It found that the check it was using for a fresh button press never fired in its game, so it wrote its own and tested every button again. The first message ended with the farm drawn and the tools switching, and a plain list of what it had not reached yet: tilling, planting, watering, growth, harvest, the shop and sleeping.

4. "continue": a full day on the farm
The second message walked the farmer into the field, tilled a plot, planted a turnip, watered it and went to bed. The day summary appeared, and the next morning a sprout was showing:

The third message tested harvesting, shipping and the shop. To avoid playing several in-game days for each check, it set a crop straight to fully grown, and it said so:
It found and fixed two layout bugs on the way: numbers overwriting the shop's labels, and a menu line cut off at the right edge of the screen. Shipping a turnip took gold from 50 to 80, and buying carrot seeds took it from 80 to 60.

5. Ask for the next change
The fourth message:
The agent added a coop and a hen that wanders near it, an egg each morning, and rain every third day. It collected an egg, sold it for 15 gold, slept to a rainy day and checked that the plots came up watered. It also noticed that rain arrived too late in the night to help that night's growth, and the last "continue" checked that a crop now grows through the night and is ready in the morning.

6. Play it and download the ROM
The game plays in the editor and from its card: on-screen buttons on a phone, the keyboard or a controller on a computer. Press Share, then Export .gba ROM to download the cartridge. Exporting is included with any purchase. The ROM guide covers emulators and flash carts.
What we learned from the test
- Name the loop. Work, wait, sell, buy: each part in the prompt became a part of the game.
- The agent debugs like a person. When a button did nothing, it read the hardware instead of guessing, found the cause and fixed it.
- It shortcuts time to test, and says so. It set crops to fully grown rather than playing several days. Play a few real days yourself to feel the pace.
- Small screens need short words. Twice it found text running off the edge or overlapping, and fixed it.
What to put in a farming game prompt
- The farm: the buildings, the field, water, paths, and how it is seen (from above here).
- Crops: which ones, how long they take, what they need (water, a season), and what they sell for.
- A day: what ends it, what happens overnight, and what the summary shows.
- Money: where you sell, where you buy, and what is worth saving for.
- Animals and weather: chickens, cows, rain, seasons.
- Controls and the look: the buttons for each tool, tile sizes, colors, and "draw the art yourself as code".
What the GBA can hold, for a farm
- Screen: 240 x 160 pixels; this farm is one screen of 16 x 16 tiles.
- Sprites: up to 128 at once: the farmer, the hen, crops that change, an egg.
- Colors: palettes of 16 colors, enough for soft, warm tones.
- Text: about 30 characters a line, which is why the agent kept trimming labels.
- Saves: a 128 KB flash save, like a real cartridge. Ask for it: "Save the farm when I go to bed."
Ideas to ask for next
- "Save the farm when I go to bed."
- "Add seasons: spring turnips, summer melons, autumn pumpkins."
- "Add a friendly neighbor who buys a different crop each week."
- "Let me upgrade the watering can to water three plots at once."
- "Add a cow that gives milk if I brush it every day."
FAQ
Can AI make a game like Stardew Valley or Harvest Moon?
Yes, a game in the same genre: a cozy farming game with crops, days, a shop and animals, like the one on this page. Make it your own: your own farm, names and art rather than those games', especially if you share or sell your game.
Can AI make a GBA game?
Yes. Pick the GBA engine in Shiny Gen and describe the game; the agent writes it, compiles a real Game Boy Advance cartridge, plays it and fixes bugs. This one took five messages, about fourteen minutes of agent time and about 160 gems.
Is it a real .gba ROM?
Yes. It is a standard .gba cartridge image compiled to ARM machine code. We have played GBA ROMs made this way, saves included, on a Game Boy Advance and a DS Lite through a flash cart, and any GBA emulator opens it.
Do I need to know how to code?
No. You describe the game and the agent writes and tests the code. You can read and edit it in the Code view, and editing it by hand costs nothing.
Is it free?
Making, playing and sharing games is free. The built-in agent uses gems, and new accounts get free gems. Downloading the ROM is included with any purchase. See the pricing page.
