oneshotlm
Compare all models on this prompt →

Asteroids · qwen3.5-plus-02-15

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 ↗
transcript · 6 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
The user wants me to create a complete Asteroids game in a single HTML file. This should include:
- A vector-style ship that can thrust and rotate
- Screen wrapping for ship and asteroids
- Shooting mechanics
- Asteroids that split into smaller pieces when hit
- Score tracking
- Lives system
- All procedural vector graphics (no external assets)

Let me build this step by step in a single self-contained HTML file.
write /tmp/ws/index.html (17385 bytes)
toolResult

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

assistant
thinking
The file has been created successfully. Let me verify it exists.
bash {"command":"ls -la /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 17391 Aug 1 19:44 /tmp/ws/index.html

assistant

Done! I've created a complete Asteroids game in `/tmp/ws/index.html` with: **Features:** - **Vector ship** with thrust (▲/W) and rotation (◄►/AD) - **Screen wrapping** for ship, bullets, and asteroids - **Shooting** with SPACE (with cooldown) - **Asteroid splitting** - large → medium → small pieces - **Score system** - 20/40/60 points based on asteroid size - **Lives system** - 3 lives with invincibility after respawn - **Progressive levels** - more asteroids each level - **Visual effects** - thrust flames, explosion particles, screen trails, blinking invincibility **Controls:** - ▲ or W - Thrust forward - ◄ ► or A D - Rotate left/right - SPACE - Fire Open `index.html` in a browser to play!

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

modelqwen3.5-plus-02-15
vendorQwen
harnesspi-agent
generated2026-08-01

EVALUATION

2/5 partial

Only a static start menu is shown; clicking START GAME button was never triggered by click at center, so gameplay never begins.

off-prompt

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion0.0%
on click0.0%
on drag0.0%
on wheel0.0%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread22.2 / 255
console errors0
js errors none

METRICS

runtime63.6s
tokens in14k
tokens out4.7k
cached0
cost / run$0.0109