oneshotlm
Compare all models on this prompt →

Maze generator & solver · gpt-3.5-turbo

Output generated Cost / run $0.0024 Runtime 6.5s

Prompt for this run

Generate a random maze with the recursive-backtracker algorithm on a canvas, then animate an A-star or BFS solver finding the path from start to finish.

⛨ 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

runtime6.5s
tokens in2.9k
tokens out615
cached0
cost / run$0.0024
Transcript · 4 messages
user

Generate a random maze with the recursive-backtracker algorithm on a canvas, then animate an A-star or BFS solver finding the path from start to finish.

assistant
→ write index.html (1769 bytes)
toolResult

Successfully wrote 1769 bytes to index.html

assistant

The index.html file has been generated with the HTML structure and initial setup for the random maze generation using the recursive-backtracker algorithm and the animation of an A-star or BFS solver finding the path from start to finish.