Skip to content

merlinlikethewizard/Maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Maze Maker!

Enter a size and get a maze! Totally random maze generator with one and only one solution. Prints maze as well as creates an image using PIL. Runs in python 2.

Text:

╭───────┬───┬─────┬─┬─┬─────┬───┬───┬───┬───┬─────╮ 
├─────╴ ╰─╮ │ ╶─╮ │ │ ╰─╮ ╷ ╵ ╭─┤ ╶─┴─╮ ╵ ╭─╯ ╶─╮ │ 
├─╴ ╭─╴ ╷ │ ╵ ╭─╯ │ ╰─╮ ╰─┼─╮ ╵ ├─╴ ╭─╯ ╷ ├─┬─╴ ├─┤ 
├─╮ ├─┬─╯ │ ╶─┤ ╭─┤ ╷ ╰─╮ ╵ ╵ ╶─┤ ╶─┼───╯ ╵ ╵ ╷ ╵ │ 
│ ╰─┤ ╵ ╶─┤ ╶─┴─┤ ╰─╯ ╭─┼─┬─╴ ╶─╯ ╶─╯ ╷ ╷ ╷ ╭─┤ ╶─╯ 
│ ╷ ╰─╴ ╶─╯ ╶───┤ ╭─┬─╯ │ │ ╶─╮ ╶─┬─╮ ├─┤ ├─╯ │ ╭─╮ 
├─╯ ╷ ╷ ╷ ╭─────╯ ╵ ├─╴ ╵ ╰─┬─┤ ╭─╯ │ ╵ ╰─┼─╴ ╰─╯ │ 
├─╴ ├─┴─╯ ╵ ╷ ╷ ╷ ╭─╯ ╷ ╶───╯ ├─┴─╴ ├─╴ ╭─┤ ╷ ╷ ╶─┤ 
├─╮ ├───╴ ╷ ╰─┼─┴─╯ ╶─┼───┬───┴─┬─╴ ├─╮ ╵ ╰─┤ │ ╶─┤ 
╵ ╵ ├─┬─╮ ╰─┬─╯ ╷ ╭───┼─╴ ╰───╴ │ ╭─╯ ├─╴ ╶─┴─┤ ╶─┤ 
╷ ╭─╯ │ ╵ ╶─╯ ╶─┤ ╵ ╭─┼───╮ ╷ ╷ ╵ ╰─╴ ╵ ╷ ╶─┬─┼─╴ │ 
├─┼─╮ ╰─┬─╴ ╭─┬─┤ ╶─╯ ╵ ╷ │ ╰─┤ ╷ ╭─╴ ╭─┴─╴ │ ╵ ╶─┤ 
│ ╵ ╵ ╶─┼─╮ │ ╵ ├─┬─╮ ╷ ╰─┴─┬─╯ ╰─┤ ╶─┼─╴ ╶─┼─╮ ╶─┤ 
│ ╷ ╭─╮ ╵ ╵ ╰─╴ ╵ ╵ ╰─┤ ╷ ╶─┼─╴ ╷ ╰───┼─╴ ╭─┤ ╵ ╶─┤ 
├─┼─┤ │ ╷ ╭─┬─╮ ╶─╮ ╶─┼─╯ ╭─╯ ╭─┤ ╭───┴─╴ │ │ ╶───┤ 
│ │ ╵ ├─╯ ╵ ╵ │ ╭─┴─┬─╯ ╷ │ ╭─┤ ╰─┤ ╶─╮ ╷ ╵ ╵ ╷ ╭─┤ 
│ ╰─╮ ╰─╴ ╭───┤ ╵ ╭─┤ ╷ ╰─┴─╯ ╵ ╷ ╰───┼─┴─╴ ╭─┤ ╵ │ 
├─╴ ╰─╴ ╷ ╵ ╶─┤ ╶─┤ ├─╯ ╭─┬─────┴───┬─┴─╴ ╭─╯ │ ╶─┤ 
│ ╭───┬─╯ ╶─┬─╯ ╷ ╵ │ ╶─╯ ╵ ╶─┬─────┼─╴ ╷ ╰─╴ │ ╶─┤ 
│ ╵ ╷ ├─╴ ╶─┴─┬─┼───┤ ╶─╮ ╶───┤ ╷ ╷ │ ╷ ╰─╮ ╭─┼─╴ │ 
│ ╶─┴─┤ ╶─┬─╮ │ ╰─╮ │ ╶─┼───╮ ├─┼─╯ ╵ ╰─┬─┤ ╵ ╰───┤ 
├─┬─╮ ├─╮ │ ├─╯ ╷ ╵ ╵ ╭─┴─╴ │ │ ╰─╴ ╶─┬─┤ ├─╴ ╶───┤ 
│ ╵ ╵ │ ╰─┤ ╰─╴ ╰─╮ ╷ ╰─╮ ╷ ╵ ╵ ╶─┬─┬─╯ ╵ ╵ ╶───╮ │ 
│ ╷ ╷ │ ╷ ╰─╴ ╷ ╭─╯ ├─╴ ├─╯ ╭─╮ ╶─╯ │ ╷ ╭─╴ ╶───┴─┤ 
├─╯ │ │ │ ╷ ╷ │ ╰─┬─╯ ╶─┴───╯ │ ╷ ╷ │ ╰─┤ ╶───┬─╴ │ 
╰───┴─┴─┴─┴─┴─┴───┴───────────┴─┴─┴─┴───┴─────┴───╯ 

Image:

image

About

maze maker!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages