Dev.to AI πŸ€– Ai πŸ‘ 2 πŸ“– 4 min read

I made 4 games with Claude and a handful of prompts. Here are the prompts.

A lot of people still don't know you can do this. You type a sentence, and a while later there's a game you can play on your phone. I don't mean a snippet of code you then have to figure out. I mean a finished thing wit

I made 4 games with Claude and a handful of prompts. Here are the prompts.

A lot of people still don't know you can do this. You type a sentence, and a while later there's a game you can play on your phone.

I don't mean a snippet of code you then have to figure out. I mean a finished thing with a title screen, sound and a restart button, that you can send to a friend.

I've made a few dozen this way over the last couple of months. Here are four of them, with what I actually typed.

Two disclosures. I work at Sekai, which is where these games live. And I made them with Claude Code plus Sekai's connector, which gives the AI an asset library and a guide to what works on a phone. More on the setup at the end.

Tic-tac-toe Rock paper scissors Flight sim Dinosaurs
Paws vs Claws cover Rock Paper Rush cover Horizon Wings cover Jurassic Apex cover

1. One prompt: tic-tac-toe

This is the whole thing I typed:

build me a mini game for tic-tac-toe

What came back is Paws vs Claws. It's a cat against a husky. The dog starts out sleepy and gets smarter every round, your win streak is saved, and there's a two-player mode for passing the phone back and forth.

I asked for none of that. I asked for tic-tac-toe. The theme, the difficulty curve and the two-player button were the AI filling in what a game needs, which turns out to be most of the work.

2. One prompt: rock paper scissors

I typed this one in Chinese. Translated:

a rock paper scissors mini game

I expected the obvious version, where you pick a hand and the bot picks a hand. I got Rock Paper Rush, which is a reaction game. The bot throws first, a timer ring starts closing, and you have to tap the hand that beats it before the ring runs out. Every five wins the window gets shorter. From level three it starts throwing in rounds where you're supposed to lose on purpose.

It's a better idea than the one I had. The whole file is about 35 KB, and the three hands are drawn in code instead of being image files.

3. Two prompts: a flight simulator

This is where I started pushing. I asked for a flight simulator that looks real and has basic controls, and pointed it at the kind of thing I meant.

The first version of Horizon Wings was a single HTML file of about 113 KB. Inside that: a light plane with moving flaps and landing gear, terrain with mountains, farmland and a lake, an airport with a runway and a tower, ten rings to fly through, and a landing score at the end.

Then I asked for more: let me choose the aircraft, the map and a route to a destination, and add more airports. It came back with three planes that fly differently, a light one, a twin-engine airliner and a fighter.

I still find it a bit absurd that this runs in a phone browser.

4. Six prompts, and the second one was "this completely fails"

I'm including this one so you don't think it always works first time.

The opening prompt, again translated:

make a Jurassic world game

The second build missed badly, and I said so. My actual verdict was that it completely failed: WASD didn't move the dinosaur, pushing the joystick right sent it left, and the camera drifted so fast it was hard to look at.

After that it was a conversation, one complaint at a time:

keep the camera behind the dinosaur, otherwise I get dizzy

when I press left or right it spins on the spot and the screen spins with it, it's really uncomfortable

let me pick different dinosaurs at the start

add egg laying

Each one took a round or two. The result is Jurassic Apex: four dinosaurs to choose from, you hatch, eat, grow, and lay eggs to start new nests.

Notice that none of my prompts are technical. I never said "lerp the camera yaw" because I wouldn't know to. I said I was dizzy.

What I've learned about prompting for games

Short first prompts work better than I expected. The AI is good at deciding what a game needs. A long spec mostly gets in its way.

The second prompt matters more than the first. Play the thing, then say what felt wrong in plain words, the way you'd tell a friend.

I've had the best results complaining about one thing at a time, the way the dinosaur game went.

And for some of these I started from a game I'd played and said "make me something like this". That's a perfectly good prompt. The AI builds its own art and code, and where you end up is usually somewhere else anyway.

The setup, since you'll ask

I use Claude Code, with Sekai's connector added. That's one command:

claude mcp add --scope user --transport http sekai https://mcp.sekai.ai/mcp

The connector isn't doing the thinking. It hands the AI sounds, images and 3D models to use, tells it what breaks on phones, and uploads the result so I get a link to play. The same connector works in the Claude app and in ChatGPT if you don't live in a terminal.

You can do this without any connector too. Ask Claude or ChatGPT for a game as a single HTML file and open it in your browser. You'll have something playable in a few minutes.

Then what?

That's the part nobody warns you about. The game exists, it's fun, and it's sitting in a chat window where nobody can play it.

Where it goes next is the second post in this series.

What was the first game you asked an AI for? I'm curious what people start with. My first one with this setup was a plane made of blocks.

I used an AI assistant to help draft this post. The games, the prompts and the opinions are mine.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.