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

METRICS

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