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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file mazegenerator-1.2.1.tar.gz.

File metadata

  • Download URL: mazegenerator-1.2.1.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for mazegenerator-1.2.1.tar.gz
Algorithm Hash digest
SHA256 798230024b4d93c27e43339469eaaf5521da52d5bad6a9f75e0c21442aa9ff44
MD5 a96b1e4e505fae6ce76be4d319b4820c
BLAKE2b-256 119cac6374383ec706b1bac7ed1862900c1db9bdf8f92aea529cbb71a4a01f7c

See more details on using hashes here.

File details

Details for the file mazegenerator-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: mazegenerator-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 23.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for mazegenerator-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5ba319563904d1c5a7dcde6db5c73b23300af953bbf6626e558b4491b71750f
MD5 d0049f20d5f6178ef1b80ae32123dc96
BLAKE2b-256 068606655bac183e25de03785c40ee6e2b687bcddf29981aff717257af981077

See more details on using hashes here.

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