Dangerous Dave platformer · kat-coder-air-v2.5
Build a playable tile-based platformer on a canvas in the Dangerous Dave style: navigate a level to grab a trophy and then reach the exit, avoiding hazards like fire and water, with jumping and simple enemies. Procedural graphics only, no external assets.
transcript · 8 messages
Build a playable tile-based platformer on a canvas in the Dangerous Dave style: navigate a level to grab a trophy and then reach the exit, avoiding hazards like fire and water, with jumping and simple enemies. Procedural graphics only, no external assets.
/tmp/ws/index.html (27767 bytes)Successfully wrote 27767 bytes to /tmp/ws/index.html
I'll build a complete Dangerous Dave-style platformer with multiple levels, enemies, hazards, and collectibles.
/tmp/ws/index.html (25813 bytes)Successfully wrote 25813 bytes to /tmp/ws/index.html
{"command":"ls -la /tmp/ws/index.html && head -5 /tmp/ws/index.html && echo \"---\" && tail -5 /tmp/ws/index.html"}-rw-r--r--. 1 node node 25815 Aug 1 20:34 /tmp/ws/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> --- gameLoop(); </script> </body> </html>
The file is complete. Here's what's in the single `index.html`: **Gameplay:** - 3 progressively harder levels in Dangerous Dave style - Collect the golden trophy, then reach the exit door - Jump on enemies from above to defeat them (+200 pts) - Touching enemies or hazards (fire, water, spikes) costs a life **Controls:** - Arrow Keys or WASD to move - Up / W / Space to jump **Features:** - Procedural pixel-art graphics — bricks, grass, animated water, flickering fire with sparks, glowing trophy, spiked hazards, animated enemies with eyes that follow direction - Starfield background, HUD with score/lives/trophy status - Invincibility frames after hitting hazards (blinking) - Death screen, level complete screen, game win screen with fireworks - Lives system (3 lives) and score tracking **Level progression:** - Level 1: Gentle intro with a few platforms and one enemy - Level 2: Water pit, fire traps, two enemies - Level 3: Spikes, multiple water pits, fire, four enemies, trophy high up
TAKE IT TO CODE
A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.
RUN
EVALUATION
Menu transitions to tile-platformer level with player, platforms, enemy, and trophy; arrows/wasd show minor movement.
Vision grade · anthropic/claude-sonnet-5
MEASUREMENTS
Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.