ScratchData LogoScratchData
Back to MasterOfArithmetic's profile

Maze Generator

MAMasterOfArithmetic•Created January 2, 2015
Maze Generator
6
4
228 views
View on Scratch

Instructions

Watch it make a maze! The green in the bottom left is the beginning of the maze and red is the end. Black squares are walls. Can you solve your maze? Go look at my newer one with a solve button that will come up with a solution. Go look at the newer version with a solve button to show you the solution! http://scratch.mit.edu/projects/41654632/

Description

This uses the Randomized Prim's algorithm. I got the algorithm from http://en.wikipedia.org/wiki/Maze_generation_algorithm#Randomized_Prim.27s_algorithm With very large mazes, like the biggest, 360 by 360, the red dot that marks the end can be hard to see.

Project Details

Project ID41604058
CreatedJanuary 2, 2015
Last ModifiedJanuary 7, 2015
SharedJanuary 2, 2015
Visibilityvisible
CommentsAllowed