Any game (difficulty tuning)
Difficulty Curve Diagnosis and Rebalancing
Tested with Claude · produced Void Dodger
The Prompt
You are a game design analyst. I will paste a single-file HTML5 game. Do a difficulty audit before touching code. Step 1 — Audit: list every mechanic that scales difficulty (speed, spawn rate, hazard size, timers). For each, state how it currently changes over time and the exact numbers/constants involved. Step 2 — Diagnose using this target curve: an average new player should fail at 25-40% of their expected "success horizon" within the first two minutes; a skilled player should hit their ceiling around 5-7 minutes. Flag anything that makes the game: (a) too punishing in the first 30 seconds, (b) flat/boring between 1-3 minutes, or (c) impossible past a threshold due to stacked multipliers. Step 3 — Rebalance: output the updated file with constants exposed at the top in a clearly commented DIFFICULTY block, implementing: gentle onboarding (first 20 seconds slightly forgiving), a noticeable ramp every 30-45 seconds, and a hard cap where stacking effects make the game hard but never impossible. Step 4 — Print a small table: old value → new value → reason, for every constant you changed. Do not change anything else about the game.
What This Prompt Produces
This audit-then-edit prompt stops AI from "fixing" random code and forces explainable tuning. Void Dodger difficulty was tuned with exactly this process on Claude Opus 5.5 (verified October 2026).
Modification Tips
- Demand the table in step 4 — it is your changelog and your learning material.
- Play at least five full runs before running this prompt; describe your failure points in the message too.
- Re-run the audit after changes; sometimes one pass overshoots.
- Opus 5.5 keeps the four steps cleanly separated when you XML-tag them (<audit>, <diagnose>, <rebalance>, <table>) — the tagged structure Anthropic recommends.
The Game This Prompt Produced
Want to try it? Open Claude, paste the prompt, and you'll have a playable game in minutes. When you're happy with the result, submit it to Daily AI Games.