oneshotlm
Compare all models on this prompt →

Asteroids · seed-2-1-turbo

Output generated Cost / run $0.0152 Runtime 68.0s

Prompt for this run

Build a playable Asteroids game on a canvas: a thrust-and-rotate vector ship that shoots and wraps around the screen edges, splitting asteroids into smaller pieces, with score and lives. Procedural vector 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

modelseed-2-1-turbo
vendorByteDance · Seed
harnesspi-agent
generated2026-08-13

METRICS

runtime68.0s
tokens in8.3k
tokens out5.0k
cached2.7k
cost / run$0.0152
Transcript · 4 messages
user

Build a playable Asteroids game on a canvas: a thrust-and-rotate vector ship that shoots and wraps around the screen edges, splitting asteroids into smaller pieces, with score and lives. Procedural vector graphics only, no external assets.

assistant
thinking
I will build a classic Asteroids game with procedural vector graphics in a single HTML file, and the first required feature is a vector ship with thrust and rotation.All required game features have been confirmed, and the corresponding code will be written directly.
→ write /tmp/ws/index.html (13147 bytes)
toolResult

Successfully wrote 13147 bytes to /tmp/ws/index.html

assistant
thinking
File written, will verify validity.

Built the Asteroids game at `/tmp/ws/index.html` — a fully self-contained canvas game with: - **Vector ship**: rotate with ←/→ or A/D, thrust with ↑/W, wraps around screen edges - **Shooting**: Space to fire, bullets also wrap and have limited lifetime - **Asteroids**: procedural jagged shapes, split into 2 smaller pieces when hit (large → medium → small) - **Score/Lives/Level** UI at the top (20/50/100 points by size) - **Particle effects** for explosions and thrust flame - **Invulnerability** after respawn (blinking ship) - **Screen wrapping** for all objects - **No external assets** — all procedural vector graphics on canvas Open `index.html` in a browser and press Space to start.