Skip to main content

A maze generation algorithm for image-based mazes.

Project description

Maze Generator

This program generates a random black and white maze image. The mazes that are generated can be solved with mazesolver

Installing

Check that your python version is >=3.5 with python3 -V. Also make sure that pip is installed with python3 -m pip -V.

To install, simply run python3 -m pip install mazegenerator --user on the command line.

You can run the tool using mazegenerator(unix-based) or mazegenerator.exe (windows).

How do I use it?

You can use mazegenerator --help to get a list of commands.

Normal usage will look something like this: mazegenerator -x 200 -y 300

What are the rules for maze images?

  • Walls marked with black pixels and paths marked with white pixels

  • Walls around the entire maze

  • One entrance on the top row and one exit on the bottom row

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

mazegenerator-1.2.1.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

mazegenerator-1.2.1-py3-none-any.whl (23.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page