oneshotlm
Compare all models on this prompt →

Snake · muse-spark-1.2

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 · 6 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
write index.html (25960 bytes)
toolResult

Successfully wrote 25960 bytes to index.html

assistant
bash {"command":"ls -lh index.html && wc -l index.html"}
toolResult

-rw-r--r--. 1 node node 26K Aug 13 01:32 index.html 729 index.html

assistant

Single-file Snake game built at `index.html` — canvas-based, arrow/WASD/swipe controls, growing tail, food, score/best, speed ramp, wall/wrap toggle, pause, game-over & restart, no external resources.

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

modelmuse-spark-1.2
vendorMeta
harnesspi-agent
generated2026-08-13

EVALUATION

4/5 working

Snake game starts with Space, shows grid/food/tail, and reaches a Game Over 'Bit yourself' restart screen.

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 drag1.2%
on wheel0.0%
on enter + space4.9%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread19.4 / 255
console errors0
js errors none

METRICS

runtime43.5s
tokens in22k
tokens out9.3k
cached14k
cost / run$0.0523