oneshotlm
Compare all models on this prompt →

Asteroids · inkling-small

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 a single-file Asteroids game with vector graphics only. I'll write index.html with canvas, CSS, and JS all embedded. Key features: thrust/rotate ship, wrap edges, shoot bullets, split asteroids, score, lives. Proceed to write.
→ bash {"command":"cat > index.html << 'EOF'\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<meta charset=\"UTF-8\">\n<title>Asteroids</title>\n<sty
toolResult

done

assistant
thinking
Confirm file exists and report.
→ bash {"command":"ls -l index.html && wc -l index.html"}
toolResult

-rw-r--r--. 1 node node 7937 Aug 1 19:44 index.html 230 index.html

assistant
thinking
File written successfully; summarize features briefly.

Created `index.html`: single self-contained Asteroids game with canvas vector graphics, thrust/rotate ship with wrap-around, shooting, asteroid splitting, score/lives HUD, particle explosions, starfield, keyboard controls, and restart support — all inline with 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

modelinkling-small
vendorThinking Machines
harnesspi-agent
generated2026-08-01

METRICS

runtime19.0s
tokens in10k
tokens out3.1k
cached1.8k
cost / run$0.0141