oneshotlm
Compare all models on this prompt →

Snake · claude-opus-5

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
I'll go ahead and write out the file.
write /tmp/ws/index.html (8491 bytes)
toolResult

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

assistant

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

modelclaude-opus-5
vendorAnthropic · Claude
harnesspi-agent
generated2026-08-03

EVALUATION

3/5 working

Snake game starts on Enter/Space, snake appears then quickly hits game over; arrows/WASD don't control movement direction properly.

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.3%
on wheel0.0%
on enter + space23.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread7.8 / 255
console errors0
js errors none

METRICS

runtime40.5s
tokens in2.3k
tokens out4.2k
cached2.2k
cost / run$0.1068