oneshotlm
Compare all models on this prompt →

Top-down alien shooter · gpt-4o-mini

Output generated Cost / run $0.0012 Runtime 20.4s

Prompt for this run

Using the pre-provided phaser.min.js (global Phaser), build a top-down alien shooter: move with WASD, aim and fire at waves of advancing aliens, with health, score, and increasing difficulty. Use ONLY procedurally generated graphics, no external image or audio 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

modelgpt-4o-mini
vendorOpenAI
harnesspi-agent
generated2026-07-22

METRICS

runtime20.4s
tokens in3.8k
tokens out1.4k
cached2.6k
cost / run$0.0012
Transcript · 4 messages
user

Using the pre-provided phaser.min.js (global Phaser), build a top-down alien shooter: move with WASD, aim and fire at waves of advancing aliens, with health, score, and increasing difficulty. Use ONLY procedurally generated graphics, no external image or audio assets.

assistant
→ write index.html (5283 bytes)
toolResult

Successfully wrote 5283 bytes to index.html

assistant

The single-page web app for a top-down alien shooter has been created and saved in the file `index.html`. You can now open this file in your web browser to play the game. Enjoy shooting the advancing aliens!