Skip to content

Arcade (breakout)

Neon Breakout (Brick Breaker)

Tested with ChatGPT · produced Brick Blitz

The Prompt

Create a polished breakout/brick-breaker game in a single HTML file: all JavaScript, CSS and art inline (draw with canvas), no libraries, no external assets.

Gameplay:
- Paddle at the bottom, controlled by mouse/touch drag AND arrow keys. Ball launches on click/tap/space.
- Bricks: 6 rows x 10 columns; row colors worth 1-6 points; every 4th brick randomly requires 2 hits (cracked state after the first hit).
- Ball physics: constant speed magnitude; reflect off walls/paddle/bricks; paddle hit position controls bounce angle (edges = sharp angles, center = vertical); speed increases ~4% every 8 bricks cleared, capped.
- 3 lives. Lose a life if the ball passes the bottom; serve again with the ball stuck to the paddle.
- Bricks can drop a power-up at ~8% chance: wider paddle (10s) or slow ball (6s). Render a HUD for active effects.
- Clear all bricks = next level with slightly higher base speed; loop endlessly with score accumulating.
- Game over overlay with score, level and restart. Pause when the window loses focus.

Feel: neon glow on dark background (shadowBlur), paddle flash on hit, small particles on brick destruction, subtle screen shake on losing a life.

Must be 960x540 internal resolution, responsive letterbox, and fully playable on touch screens. After the code, describe the paddle-angle reflection formula.

What This Prompt Produces

Breakout is a well-trodden formula, so expect strong results in one pass — the paddle-angle rule is the detail that separates good builds from cheap ones. GPT-5.2 with Think mode handled every stacked rule with zero logic bugs in our October 2026 runs.

Modification Tips

  • If the ball gets too fast to track, follow up with: "Cap ball speed at 1.6x initial and add a brief hit-stop on brick contact."
  • Add juice cheaply: "Add a 150ms slow-mo when the last brick of a level breaks."
  • For mobile, ask: "Paddle follows horizontal touch position with slight smoothing."
  • Keep every rule a fixed number (3 lives, 4% per 8 bricks, 8% drop chance) — GPT-5.2 in Think mode keeps stacked specifics straight where older models dropped one.

The Game This Prompt Produced

Want to try it? Open ChatGPT, 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.