oneshotlm
Compare all models on this prompt →

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.

⛨ sandboxed Open in new tab ↗

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

modelkat-coder-pro-v2
vendorKwaipilot
harnesspi-agent
generated2026-07-31

METRICS

runtime101.7s
tokens in22k
tokens out8.6k
cached10k
cost / run$0.0145
Transcript · 6 messages
user

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.

assistant

I'll create a Dangerous Dave-style tile-based platformer with procedural graphics. Let me build this step by step.

→ write /workspace/index.html (32942 bytes)
toolResult

Successfully wrote 32942 bytes to /workspace/index.html

assistant
→ bash {"command":"ls -la /workspace/index.html"}
toolResult

-rw-r--r-- 1 node node 32946 Jul 31 08:51 /workspace/index.html

assistant

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.