How to make a sports game with AI (a real Game Boy Advance tennis 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 sports game with AI, open Shiny Gen, start a new game on the GBA Engine (or the N64 Engine for a 3D sport), and describe the match in the Agent tab: the sport, the camera, the controls, the rules and scoring, the opponent 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 with tennis. Five messages gave Pixel Tennis: a match against the computer on a court seen from behind your player, aimed shots, a net that stops low balls, real tennis scoring from 15 to advantage, first to three games, a power serve and a crowd that cheers your winning points. It took about nine minutes of agent time and 80 gems.

The test: five messages, one tennis game
Everything below is from one real session on 29 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 tennis game, with the art asked for up front | 7 min 18 s | 10 |
| 2 | "continue" | 36 s | 45 |
| 3 | "continue" | 7 s | 5.5 |
| 4 | A power serve and a cheering crowd | 57 s | 15.5 |
| 5 | "continue" | 5 s | 4.2 |
Step by step: the tennis 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 match, art included
Our first prompt, exactly:

A sports game is mostly its rules, so the prompt spells them out the way a referee would: the bounce, out, the net, the scoring and what wins.
3. The first message: a match that runs
The agent wrote the court, the players, the ball and the scoring in one message and played it. Letting the match run without input taught it something about its own game:
Its last message listed what was in the game and said plainly what it had not done: play a whole match itself and see the "YOU WIN" screen.

4. "continue": a serve that hit the net
The second message found and fixed a real bug:
It then served, the computer returned the ball, and the point went to the computer as "MISSED" because the agent did not swing back. The third message checked the remaining screens, forcing the last point of a match to see "YOU WIN THE MATCH!" with the games and your best score.

5. Ask for the next change
The fourth message:
The agent added a POWER bar that fills and empties while you hold A, a faster ball for more power, an out serve if you release at the very top, aiming while you release, and a crowd that animates with a cheer sound when you win a point. It said which part it had only forced, and the last "continue" checked it in real play:


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.
To try first: a whole match to three games, which the agent never played by hand.
What we learned from the test
- Write the rules like a referee. Bounces, out, the net and the scoring all came out as written.
- A sports game is a good small project. The first message gave a full match; later messages cost a few gems each.
- The agent finds its own bugs while testing. The serve that hit the net was found by playing it.
- It says what it forced. The winner screen was reached by forcing the last point.
What to put in a sports game prompt
- The sport and the camera: from above, from behind, side on.
- Controls: moving, hitting or shooting, aiming, and any special shot.
- The rules: what is in and out, fouls, and how points are scored.
- The match: how long, how it is won, and what the opponent does.
- Screens: title, score board, winner and loser.
- The look: player sizes, colors, the crowd, and "draw the art yourself as code".
What the GBA can hold, for a sports game
- Screen: 240 x 160 pixels, enough for a full court with a score board on top.
- Sprites: up to 128 at once, each up to 64 x 64, for players, the ball and its shadow.
- Colors: palettes of 16 colors.
- Saves: a 128 KB flash save, like a real cartridge, for a best score.
Ideas to ask for next
- "Add a doubles mode with a computer partner."
- "Add three courts: grass, clay and hard court, each bouncing differently."
- "Add a lob with B that goes high over the other player."
- "Show the ball's speed after every serve."
- "Add a tournament of three matches with harder opponents."
FAQ
Can AI make a sports game?
Yes. Describe the sport, the rules and the look, and Shiny Gen's agent writes the game, draws it and tests it. This tennis game took five messages, about nine minutes of agent time and 80 gems.
Can AI make a game like Mario Tennis?
Yes, a game in the same genre: a tennis game with real rules, like the one on this page. Make it your own: your own players, names and art rather than that game's, especially if you share or sell your game.
Can I make a 3D sports game?
Yes. Pick the N64 Engine for a 3D cartridge game, or the Godot Engine for 3D in the browser. See how to make a 3D game with AI.
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.
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.
