Skip to content

ujjujjuj/mazegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mazegen

Mazegen is a python command line tool to generate and solve mazes

Installation

pip install mazegen

Help

You can get help information by running -h or --help

mazegen --help

This will output the following documentation

Usage: mazegen [option] [filename] [optional]

OPTIONS:
generate        Generates .maze file
view            Views existing .maze file as an image
solve           Solves a .maze file

OPTIONAL ARGUMENTS:
-s, --save      Save generated .png file

Usage

To generate a pxq maze named first.maze, run the following command

mazegen generate first.maze

To view the output from a .maze file

mazegen view first.maze

To solve a .maze file

mazegen solve first.maze

Options

  • -s or --save will save the generated image file

Example

An unsolved 42x42 maze
unsolved
Solution
solved

Note

All mazes start from the top left and end at bottom right

About

Python tool to generate and solve mazes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages