Dangerous Dave platformer · kat-coder-pro-v2
Output generated Cost / run $0.0145 Runtime 101.7s
Prompt for this run
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.
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
METRICS
Transcript · 6 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.
I'll create a Dangerous Dave-style tile-based platformer with procedural graphics. Let me build this step by step.
/workspace/index.html (32942 bytes)Successfully wrote 32942 bytes to /workspace/index.html
{"command":"ls -la /workspace/index.html"}-rw-r--r-- 1 node node 32946 Jul 31 08:51 /workspace/index.html
Done! I've created a complete Dangerous Dave-style tile-based platformer in a single HTML file. The game features: **Gameplay:** - Navigate through procedurally generated levels to grab the golden trophy - After collecting the trophy, find the exit (green door) to complete the level - Avoid hazards: fire, water, spikes, and lava - Defeat or avoid enemies (red patrol enemies and green jumping enemies) - 3 lives with score tracking **Controls:** - Arrow keys to move left/right - Spacebar to jump - Procedural pixel-art graphics (no external assets) - Smooth camera following - Animated character and hazards - Multiple enemy types with different behaviors - Increasing difficulty with each level Simply open `index.html` in a browser to play! The game generates a new random level each time you restart.