Dangerous Dave platformer · gpt-4.1-mini
Output generated Cost / run $0.0099 Runtime 68.8s
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 · 4 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.
Understood. I'll build a single-page web app in one index.html file that implements a Dangerous Dave style tile-based platformer with these features: - Canvas-based rendering - Tile-based level with ground, fire, water, trophy, exit - Player with movement and jumping - Simple enemy AI patrolling - Collision detection for ground, hazards, and goal - Procedural graphics only (no images) - Goal: grab trophy then reach exit to win I'll start coding it now.
index.html (12496 bytes)Successfully wrote 12496 bytes to index.html
I have created a playable Dangerous Dave style tile-based platformer in a single self-contained index.html file. It features procedural graphics, a player who can run and jump, hazards like fire and water, simple patrolling enemies, and the goal to pick up a trophy and reach the exit to win. Open index.html in a browser to play. Let me know if you want any adjustments or additions!