Compare all models on this prompt →
Snake · gpt-3.5-turbo
Output generated Cost / run $0.0032 Runtime 10.0s
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
modelgpt-3.5-turbo
vendorOpenAI
harnesspi-agent
generated2026-08-01
METRICS
runtime10.0s
tokens in3.3k
tokens out1.0k
cached0
cost / run$0.0032
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
index.html (3730 bytes)toolResult
Successfully wrote 3730 bytes to index.html
assistant
The playable Snake game has been built and written into the `index.html` file. You can open the file in a web browser to play the game. Enjoy!