Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 1.4 KB

README.md

File metadata and controls

27 lines (26 loc) · 1.4 KB

Maze Generator

A script for generating a 2D maze in which there is one and only one path between any two points.

Example:

 __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __
|           |  |  |  |     |__   |  |  |__   |  |  |  |__   |
|  |__|  |  |  |   __ __|__|  |  |  |   __ __   |     |  |  |
|__ __|__|     |   __   |__   |  |__       __|__ __|__   |  |
|__   |  |  |__|__|__   |  |  |  |__   |  |  |  |  |__   |  |
|__   |   __ __|__   |   __   |  |  |  |__   |      __|  |  |
|  |__       __ __ __|__ __|   __ __      |__|__|  |  |  |  |
|  |  |  |  |  |__ __ __ __   |  |  |  |__|  |  |  |  |   __|
|  |  |  |__|  |  |   __ __|__ __|__   |__   |  |   __|   __|
|  |__   |  |  |  |     |__   |  |     |  |__            |  |
|__ __ __   |  |   __|__         |__|  |  |  |  |  |  |  |  |
|__   |  |__   |     |  |  |  |  |  |        |  |__|  |  |  |
|   __|     |__   |     |__|  |__|  |  |__|__|     |__|__   |
|  |  |__|     |  |  |__|  |__   |  |  |  |  |__|  |  |  |  |
|  |__   |  |__|  |   __|  |__   |  |  |__ __   |  |__   |  |
|  |  |   __ __|__|  |  |      __ __   |      __   |   __|  |
|     |   __|  |  |  |  |__|  |     |  |__|  |  |  |  |  |  |
|  |__ __ __|  |      __ __|     |__|     |__   |__    __|__|
|  |  |  |  |   __|__ __|   __|  |__   |   __|__   |__|__   |
|   __ __|   __ __|__ __ __ __|  |  |__|     |__ __   |     |
|__ __ __ __ __ __ __ __ __ __|__ __ __|__|__ __ __|__ __|__|