J-Farmer / MazeGenerator

This is a port of the code from Mazes for Programmers: Code Your Own Twisty Little Passages by Jamis Buck. The code was originally written in Ruby.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maze Generation with Python!

This repository is a translation of the code from the book Mazes for Programmers: Coding Your Own Twisty Little Passages by Jamis Buck.

That code is originally written in Ruby, which is nice, but a bit niche. I decided to test my programming skills by translating it.

To view the mazes, either run BinaryTree or Sidewinder on a Grid object (they run in place).

You can then either print out a Grid object to the console, or you can call the toImage() method of Grid, which will attempt to open the image in an image viewer, courtesy of Pillow.

I am curretntly working on a separate branch to visualize the maze in Pygame.

About

This is a port of the code from Mazes for Programmers: Code Your Own Twisty Little Passages by Jamis Buck. The code was originally written in Ruby.


Languages

Language:Python 100.0%