Shiny Gen / Blog

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.

Sunny Acres on the GBA engine: a farm seen from above with a red-roofed house and the farmer at the door, a chest, a striped seed stall, a pond, a fenced field of nine tilled plots with a carrot growing in the middle, a small chicken coop with an egg and a chicken by the fence, with DAY 8, GOLD 65 and CAN 6 at the top.
Sunny Acres on day 8: a carrot ready to pick, an egg in the coop and the hen by the fence. The agent drew every tile and sprite as code.

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.

MessageWhat we sentAgent timeGems
1The farm, with the art asked for up front8 min 56 s10
2"continue"56 s41
3"continue"1 min 20 s51
4A chicken coop and rain3 min 3 s54
5"continue"6 s5

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:

Make a cozy farming game for the Game Boy Advance with real pixel art. A farmer walks around a small farm seen from above with a house, a fenced field of 9 plots, a pond and a shipping box. Till the soil, plant turnip or carrot seeds, water them each day, and crops grow over a few days; harvest them and drop them in the shipping box to earn gold, which buys more seeds at a little shop stall. A day ends when you go to bed in the house, with a day counter and a short summary of what you earned. Draw all the art yourself as code in warm, soft colors: 16x16 tiles for grass, soil, watered soil, water and fences, a 16x16 farmer with walking frames in four directions, and the crops at each growth stage. A title screen. D-pad to walk, A to use the tool, B to switch tools, Start for the menu.
The first prompt typed into the Agent tab of a new GBA game in Shiny Gen.
The first prompt, in the Agent tab.

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:

START reads as pressed (1015), yet the mode stays at title. I'll probe the edge-detect result and the title timer to see whether the title code is running.

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.

The Shiny Gen editor after the first message: the farm with the house, the fenced field, the pond and the farmer, and the agent's list of what it has not checked yet, ending with "Worked for 8m 56s, 10.0 gems".
The end of the first message: the farm runs, and the agent lists what is still unchecked.

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:

I tilled a plot and planted turnip seeds with A, and the seed count dropped from 4 to 3.
Sunny Acres on day 2: the farmer by the house and a green sprout in one plot of the fenced field.
Day 2: the turnip planted on day 1 has sprouted.

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:

I set the crop to fully grown instead of waiting several in-game days for it.

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.

The Shiny Gen editor after the third message: the farm with the farmer at the shipping box, and the agent's summary of how to play.
Harvest, shipping and the shop, tested in the third message.

5. Ask for the next change

The fourth message:

Now add a chicken coop: a chicken that lays an egg each morning that you can ship for gold, and rain on some days that waters the crops for you.

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.

The day summary in Sunny Acres: DAY COMPLETE, EARNED TODAY, CROPS GREW, GOLD 65, SUNNY DAY, NEW EGG READY and PRESS A, over the farm.
The end-of-day summary, with the new egg.

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

What to put in a farming game prompt

What the GBA can hold, for a farm

Ideas to ask for next

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.

Shiny Gen is not affiliated with or endorsed by Nintendo, ConcernedApe or Natsume. Game Boy Advance and DS are trademarks of Nintendo; Stardew Valley is a trademark of ConcernedApe; Harvest Moon is a trademark of Natsume; they are named here only to describe.

Last updated: November 29, 2026

Start makingDownload on the App StoreGet it on Google Play