How to make a game with AI

To make a game with AI, start with one small idea: describe the goal, create a first version, play it, ask for one focused change, and play again. ShortGame keeps that loop in a browser. Sign in before creating, and make sure your account has enough credits for a new game or an edit. This guide walks through a real Star Catcher case so you can follow the same path without guessing what each button does.

By ShortGame · Case study recorded September 4, 2026.

How to make a game with AI: start with a small loop

Keep the first brief small enough to play in one sitting. State three things in player language:

  • Goal. What is the player trying to do?
  • Action. What does the player repeat?
  • Ending. What stops the round?

Add the controls and one progress signal, such as a score or timer. Save extra characters, levels, and menus for a later request. The first playtest should answer one question: can a player understand and repeat the main action?

Create the first version in ShortGame

This is the original prompt used for the Star Catcher case:

Make a small keyboard game called Star Catcher. The player moves a basket left and right with arrow keys to catch 10 falling stars. Show a score, a 60-second timer, a clear win screen when all 10 stars are caught, a lose screen when time runs out, and a Restart button.

Follow the actual creation path:

  1. From the homepage, paste the prompt above into the game idea box, then select Start creating.
  2. If you are not signed in, sign in to continue.
  3. On the create page, check the prompt and model, then select Create game.
  4. When the editor is ready, open Preview to start the first playtest.

If the create page says Add credits to create this game, the prompt stays in place so you can add credits and retry.

Play the first version before you polish it

Play the round as a new player. For Star Catcher, move the basket with the arrow keys and catch falling stars before the timer runs out. Check that the control responds, the instructions are easy to follow, the score or timer updates, and the round reaches an ending you can understand.

Star Catcher first-play frame showing a basket, falling stars, score, and timer
Star Catcher during its first play: the basket, falling stars, score, and timer are visible.

In the recorded round, the timer ended before the requested win state appeared. Treat that as a reason to inspect the first version, not as proof that every requested outcome works on the first try.

Ask for one focused change

Turn one observation from the first round into one request. Keep the player action and timer unchanged when they are already useful; that makes the next playtest easier to compare.

Note on the recorded follow-up: it asked, “Make the moving star easier to see and add a clear win message after 10 successful taps.” Star Catcher used a basket and arrow keys, so “taps” did not describe the observed control. That sentence records the request; it is not a recommended prompt for this game.

Suggested edit (not the request used in this example)

Make the falling stars larger and easier to see. Keep the basket, arrow-key controls, objective, and timer unchanged.
Star Catcher after a focused visual change, with larger brighter glowing stars and the basket still visible
After the visual change, the stars appear larger and brighter with a glowing outline.

Play again, then check the player view

Run the same controls again, starting with the change you requested. Then check the requested change, the controls, and whether the round makes sense from start to finish. If the updated version is clear to someone who did not write the prompt, it is ready for a player-facing check.

The Star Catcher case stayed in a local creation workspace and was not published as a public game. Browse Play to see how other public games present their player view. When your own game is ready, use its existing Share control in the creation flow.

Common questions

Do I need to know how to code?

No code knowledge is required to follow this prompt-to-play loop. Describe the game, use the create page, and review the first version in Preview. You still need to play it and decide what to change.

Do I need to sign in or have credits?

Yes. Creating and editing require you to sign in and use credits. If the create page shows Add credits to create this game, the prompt stays there while you resolve the credit requirement.

What if the first version does not match my idea?

Play it first, name one mismatch in player terms, and ask for one focused change. Keep the original goal and controls in the request when they are working, then play the new version before adding another change.

Try the loop with your own idea

Use a small first prompt, then ask for one change after you play it. Sign in before you create.

Use this prompt for your first round. Review it on the create page before selecting Create game.

Suggested starting prompt: A small keyboard game where the player moves a basket left and right with arrow keys to catch falling stars, with a visible score and a clear ending.