oneshotlm
Compare all models on this prompt →

Snake · llama-3.1-70b-instruct

Output generated Cost / run $0.0023 Runtime 23.4s

Prompt for this run

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 ↗

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

modelllama-3.1-70b-instruct
vendorMeta · Llama
harnesspi-agent
generated2026-08-01

METRICS

runtime23.4s
tokens in4.7k
tokens out1.2k
cached0
cost / run$0.0023
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
→ write /tmp/ws/index.html (3082 bytes)
toolResult

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

assistant

Open index.html in a browser to play the Snake game. Run bash with the command `xdg-open index.html` to open the file in a web browser.