oneshotlm
Compare all models on this prompt →

Snake · inkling-small

Build a playable Snake game on a canvas with arrow-key controls, a growing tail, food, score, and a game-over and restart state.

⛨ sandboxed Open in new tab ↗
transcript · 4 messages
user

Build a playable Snake game on a canvas with arrow-key controls, a growing tail, food, score, and a game-over and restart state.

assistant
thinking
The user wants a Snake game. I'll write index.html with a canvas, keyboard controls, growing tail, food, score, game over/restart. All inline.
write /tmp/ws/index.html (6644 bytes)
toolResult

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

assistant
thinking
The file was written successfully. I should briefly summarize what's in it and confirm it's a single self-contained file.

Created `/tmp/ws/index.html`: a self-contained Snake game with canvas rendering, arrow-key movement, growing tail, food spawning, score/high-score tracking, collision detection, and a restart overlay. No external resources — all CSS and JS are inline.

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

EVALUATION

2/5 partial

Snake game starts on Enter/Space but reverts to Game Over screen after arrow keys or WASD, seemingly instant death.

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 + space1.9%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread17.8 / 255
console errors1
js errors none

METRICS

runtime15.5s
tokens in5.2k
tokens out2.7k
cached2.4k
cost / run$0.0093