CaseyG5 / maze-builder

Creates random mazes with Union-Find

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

maze-builder

Creates random mazes with Union-Find

This is a small Java program that creates mazes of specified size (MxN) using a union-find algorithm (Quick Union).

I was too lazy to draw out the mazes by hand so I added code to do the calculations. The standard draw library (thanks Mr. Sedgewick and Mr. Wayne) renders the created maze.

Included example visual as requested.

About

Creates random mazes with Union-Find


Languages

Language:Java 100.0%