oneshotlm
Compare all models on this prompt →

Snake · nemotron-3-super-120b-a12b

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
We need to build a Snake game in a single HTML file. Write index.html with CSS and JS inside.

We'll create the file now.

First, let's see what's in the directory: but we can just write.

We'll create index.html with:

- Canvas element
- CSS for styling: canvas, maybe a container, score display, game over overlay.
- JS: game loop, snake array, direction, food, score, handling keydown for arrow keys, update/draw, collision detection, game over state, restart on key press (maybe space or arrow).

We'll ensure everything is self-contained.

Let's write the file.

We'll use write tool.

write index.html (5852 bytes)
toolResult

Successfully wrote 5852 bytes to 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

modelnemotron-3-super-120b-a12b
vendorNVIDIA
harnesspi-agent
generated2026-07-22

EVALUATION

1/5 broken

Static snake head and food shown but no movement, growth, or response to any input across all frames.

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 + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread8.4 / 255
console errors0
js errors none

METRICS

runtime43.1s
tokens in1.7k
tokens out1.5k
cached0
cost / run$0.0008