oneshotlm
Compare all models on this prompt →

Maze generator & solver · gemini-3.7-flash

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.

⚠ no runnable output

This one-shot run produced no runnable artifact.

agent produced no index.html

The transcript below shows what the model did — read it to see why the one shot fell short.

transcript · 3 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
thinking
**Generating Maze & Pathfinding**

I'm currently focused on implementing the core logic for generating a random maze using the recursive-backtracker algorithm. Simultaneously, I'm laying the groundwork for a solver, aiming to support multiple algorithms like A* and BFS, with the goal of animating their pathfinding process on the canvas.

**Refining Maze Generation & Solving**

I'm now focusing on finalizing the recursive backtracker for maze generation, ensuring its animation is smooth and informative. My next step is to integrate A* pathfinding, with plans to explore alternative heuristics and tie-breaking strategies to demonstrate their impact.

**Evaluating Pathfinding Algorithms**

My current focus is on integrating and comparing various pathfinding algorithms, including BFS, DFS, Dijkstra, and Greedy Best-First. I'm also exploring bidirectional search techniques and planning a "race mode" to visualize their performance side-by-side, complete with interactive speed controls and detailed cost visualizations.

bash {"command":"ls -la"}
toolResult

total 20 drwx------ 2 node node 4096 Sep 2 00:34 . drwxrwxrwt 4 root root 4096 Sep 2 00:34 .. -rw-r--r-- 1 node node 8685 Sep 2 00:34 events.jsonl

TAKE IT TO CODE

This run produced no artifact — reuse the prompt with a different model or your own pi-agent run.

RUN

modelgemini-3.7-flash
vendorGoogle
harnesspi-agent
generated2026-09-02

METRICS

runtime28.2s
tokens in1.2k
tokens out812
cached0
cost / run$0.0040