Compare all models on this prompt →
Snake · laguna-m.1
Output saved · Stopped by an API error Cost / run $0.0011 Runtime 30.3s
A model request failed and its retries ran out. The output is the HTML saved before that.
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
modellaguna-m.1
vendorpoolside
harnesspi-agent
generated2026-07-22
METRICS
runtime30.3s
tokens in1.5k
tokens out2.5k
cached1.5k
cost / run$0.0011
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 me to build a Snake game as a single-page web app. Let me create an index.html file with: 1. A canvas element for the game 2. CSS for styling 3. JavaScript for game logic with: - Arrow key controls - Growing tail when eating food - Score display - Game over state - Restart functionality I'll write all of this in a single self-contained file with no external resources.
→ write
/workspace/index.html (6962 bytes)toolResult
Successfully wrote 6962 bytes to /workspace/index.html
assistant