How should you write a prompt for AI game making?

The same tool produces very different games depending on the prompt. A vague request gives you a different game every time, which makes revision impossible. Four items fix that.

The four things to include

Genre and goal: shooter, dodge, escape. What does the player do to win?

Camera view: top down, side view, first person. What is on screen?

Controls: arrow keys, touch drag, auto fire.

Fail and score: when does the run end, and what counts as a point?

Vague versus specific

Vague: make a fun game. Nothing is decided, so you cannot point at what to change.

Shooter: a vertical shooter where enemies come down from the top. Space background, player at the bottom centre. Move left and right, auto fire. One hit ends the run, score is kills.

Dodge: a car on a three lane road, move left and right to avoid obstacles. Speed increases over time, collision ends the run, score is distance.

Escape: click three objects in the right order to escape a room. A wrong click costs time, clearing within the limit wins.

Phrases that work for revision

Keep the background and lower the difficulty by 20 percent, plus five seconds of invulnerability at the start.

The score is not visible: show it large at the top right.

Touch does not work on mobile: allow dragging to move.

Change one thing per request so you can tell what caused the difference.

Prompts are reusable

A prompt that produced a game you like can be kept and reused with a different theme or difficulty. For beginners, this is the fastest way to a second and third game.

Frequently asked

How long should a game prompt be?

Length matters less than coverage. One or two sentences for each of the four items is enough.

Should I write the prompt in English?

Either works. Genre names sometimes land more precisely in English.

What if the result is wrong?

Say what to keep, then change one thing. Starting over throws away parts that were already right.

Keep reading