Skip to content

SolarHarm/a_maze_ing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

When lost read here....

Work along with the book about mazes Mazes for Programmers but in python and maybe I go nuts sometimes.

Binary Tree method

The binary tree carves out a maze, by going through each cell and randomly removes the NORTH or EAST wall.

from generics.grid import Grid
from creators.binary_tree import BinaryTree

grid = Grid(100,100)
bt = BinaryTree(grid)
maze = bt.create()
maze.to_png()

![alt text](test.png "Should show an test maze")

About

Generate mazes with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages