ScratchData LogoScratchData
Back to RetsamEmag's profile

Advanced Maze Game Generator

RERetsamEmag•Created January 10, 2018
Advanced Maze Game Generator
0
0
9 views
View on Scratch

Instructions

Set the number of rows and columns using the sliders. Click the background to generate a new maze. Larger mazes will take longer to load. The maze will load a lot faster in "Turbo Mode." Hold shift while clicking the green flag to enter Turbo Mode.

Description

This maze generator uses an algorithm which starts from a random cell in the maze and works outwards, making paths and backtracking steps to visit every cell. This ensures that every cell in the maze is accessible from any other cell (there is no wasted space), every maze is solvable, and the maze will be very random every time a new maze is generated. The algorithm is based on the Javascript maze generator by dstromberg2 on GitHub: https://github.com/dstromberg2/maze-generator/blob/master/mazegenerator.js

Project Details

Project ID197177998
CreatedJanuary 10, 2018
Last ModifiedAugust 12, 2020
SharedJanuary 24, 2018
Visibilityvisible
CommentsAllowed