Create Wiki/Prompts/AI games

Playtest → fix loop: reports a coding agent can act on

From the OpenDrama Create Wiki

Prompt10 min readLast edited October 14, 2026

Most AI-built games stall in the same place: the prototype runs, you play it, something is wrong, and the chat turns into "still broken" → a 200-line rewrite → a new bug. This is a prompt set for running that loop properly with a coding agent (Claude Code, Cursor, Codex, or any model that edits your files): session rules you paste once, a bug report and a feel report you fill in each round, and a verify step that keeps or reverts the change. Every round ends with one small diff and one number that proves it worked.

What it's for

Use it once the first build exists and you're into play → report → fix. It handles two kinds of problem:

  • Bugs: something happens that shouldn't (falling through a floor, a door that never opens, a score counted twice). These need steps to reproduce, expected against actual, and evidence.
  • Feel problems: everything works, but it feels floaty, slippery, laggy or weak. These need a measurement and a target, because "make it feel better" invites the model to add particles, screen shake and a dash you never asked for. Target numbers are in game feel tuning.

The loop rests on five rules. They're worth adopting even if you never paste the templates:

  1. One problem per round. Two changes in one round means that when things get better or worse, you can't tell which change did it.
  2. Causes before code. The model lists up to three likely causes, each with the file and function it suspects, then tests the top one. This stops it fixing a symptom somewhere else, like raising friction to hide velocity being applied twice.
  3. The smallest change that tests the cause. A hard cap (1–2 files, about 20 lines, no refactors, no new dependencies) keeps every diff reviewable in under a minute.
  4. Measure before and after. If the problem can't be seen as a number or a log line yet, the round's only job is to add that readout.
  5. Keep or revert, never pile on. A change that didn't help is undone before the next idea is tried, so the codebase doesn't fill up with half-fixes.

A round takes 3–10 minutes. Ten clean rounds move a prototype further than an afternoon of "it's still wrong, try again".

  1. 01Playone mechanic, 30–60 s
  2. 02Reportbug or feel template
  3. 03Agentcauses, then the smallest diff
  4. 04Verifysame test, measured
  5. 05Keep and commit, or revert

Members read on

The rest of this page is for members

  • 5 copy-ready prompts
  • 1 reference tables
  • 6 more sections

Create a free account, top up once — from $0.99 — and the whole wiki is yours.

  • Every breakdown, Skill and Prompt
  • New pages every day
  • Prompts copy in one tap

See also

Breakdowns that use this

More in AI games

View all →