Skip to main content

Application that generates mazes

Project description

maze

Downloads

Website

Maze generator with crossings.

Installation

pip3 install maze

Or install from source:

python3 setup.py install

To export a 20 by 30 maze SVG and a solution SVG, run:

maze svg maze.svg -s maze-solved.svg -W 23 -H 30

To using python3 directly, change into the directory with the file maze.py and run:

python3 maze.py svg maze.svg -s maze-solved.svg -W 23 -H 30

will produce:

maze.svg maze-solved.svg

Using the -S option will produce a maze with no curves e.g.:

maze svg maze-straight.svg -s maze-straight-solved.svg -W 23 -H 30
maze.svg maze-solved.svg

To generate PDF (currenlty this options doesn't allow solutions to be generated)

maze pdf my_maze.pdf

will produce a pdf.

Run maze without any arguments to see all options.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maze-3.0.0.tar.gz (12.4 kB view hashes)

Uploaded source

Built Distribution

maze-3.0.0-py3-none-any.whl (18.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page