Skip to content

hieunguyenm/MazeGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Maze Generator

Maze generator using a modified randomized version of Prim's Algorithm written in Java.

Graphics are drawn using the Processing library.

Disclaimer: This was written in first year of university so code is bad :P

Information

From a grid, random adjacent cells that are not part of the maze but are adjacent to cells that are part of the maze are called "frontiers".

The program keeps track of these frontier cells and randomly chooses a frontier cell to make part of the maze. It then keeps track of the new frontier cells from the new part of the maze.

This process is repeated until there are no more frontier cells left.

Example

About

Maze generator using Prim's Algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages