Maze generator & solver · qwen3-next-80b-a3b-instruct
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.
transcript · 4 messages
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.
I'll create a single-page web app that generates a random maze using the recursive backtracker algorithm and animates an A* solver finding the path from start to finish. Let me build this as a self-contained HTML file with CSS and JavaScript inline
index.html (14123 bytes)Successfully wrote 14123 bytes to index.html
I've created a complete single-page web app that generates a random maze using the recursive backtracker algorithm and animates an A* solver finding the path from start to finish. The app is contained in a single self-contained `index.html` file with all CSS and JavaScript inline, and no external resources are used. The app features: - A maze generator using the recursive backtracker algorithm - An A* pathfinding solver with animation - Controls to generate new mazes, solve mazes, and reset - Visual feedback showing visited cells (light blue) and the solution path (green) - Start (green) and end (red) points clearly marked The maze is rendered on a canvas with a grid of 20x20 pixel cells, creating a 25x25 cell maze (500x500 pixels total). All code runs completely sandboxed with no network requests.
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
EVALUATION
Maze renders with start/end markers, but no visible solver path (light blue/green) is shown despite Enter+Space triggering pixel changes.
Vision grade · anthropic/claude-sonnet-5
MEASUREMENTS
Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.