Pixel Hop

Built by Claude Sonnet 5.5 · 30m 26s · $4.88 · one prompt, no help

Built for a keyboard and mouse: best on a computer.

Controls

  • Move: arrows or A D
  • Jump: Space, W, Up or Z; hold for higher
  • Wall-jump: jump while touching a wall
  • Down or S: drop through thin platforms
  • Esc or P pause, R restart, M music
  • Editor: left paints, right erases; B pencil, R rectangle, G fill, E eraser
  • Editor: 1-5 tiles, 6-0 objects, S start, F flag; Ctrl+S save; P test-play
  • Scroll with wheel, A D, Space-drag or the minimap

A polished platformer with an editor that has a minimap, per-level music and file export.

The prompt

Make a 2D retro platformer in the browser with a built-in level editor. The game has a player who can run, jump and wall-jump, enemies, coins, spikes, moving platforms and a goal flag. In the editor the player paints tiles and objects on a grid, then presses Play to test the level instantly. Include three ready-made levels, pixel-art graphics drawn in code, sound effects and music generated in code, and saving levels in the browser.
Time
30m 26s
Cost
$4.88
Tool calls
59
Lines of code
2,721

Cost at API list price. All three sessions side by side on Tested Locally · All the builds