oneshotlm
Compare all models on this prompt →

Asteroids · ring-2.6-1t

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 · 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
The user wants a complete, self-contained Asteroids game in a single HTML file. Let me build this with:

1. A vector-based ship that rotates and thrusts
2. Ship wraps around screen edges
3. Shooting mechanics
4. Asteroids that split into smaller pieces when hit
5. Score tracking
6. Lives system
7. All procedural vector graphics - no external assets
8. CSS and JS all inline in the HTML file

Let me write this out carefully to make it fully playable.

Building a fully playable Asteroids game with all vector graphics inline.

write /tmp/ws/index.html (17524 bytes)
toolResult

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

assistant
thinking
The index.html file has been written successfully. Let me verify it exists and looks correct.

The game is ready at **`/tmp/ws/index.html`** — a fully self-contained, single-file Asteroids game with: - **Vector ship** — rotates (← →), thrusts (↑), wraps around screen edges - **Shooting** — spacebar fires vector bullets with short trails - **Asteroid splitting** — large → 2 medium → 2 small each (procedural vector outlines) - **Score & lives** — displayed at top; 3 starting lives - **Hyperspace** (↓) — emergency teleport with explosion effect - **Pause** (P) - **Procedural everything** — vector asteroids with random vertices/jitter, exhaust particles, explosion bursts, twinkling star field - **Screen shake** on ship death - **Level progression** — more asteroids each wave No external resources, CDNs, or network requests needed — just open `index.html` in a browser and press **Space** to start.

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

modelring-2.6-1t
vendorinclusionai
harnesspi-agent
generated2026-08-01

EVALUATION

4/5 working

Vector Asteroids game starts on Enter/Space, ship rotates and moves with arrows/WASD, asteroids and starfield render cleanly.

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.3%
on click0.4%
on drag0.4%
on wheel0.4%
on enter + space7.8%
on arrow keys3.0%
on w/a/s/d2.0%
frame spread17 / 255
console errors0
js errors none

METRICS

runtime49.0s
tokens in10k
tokens out7.1k
cached8.4k
cost / run$0.0047