Python utility to generate and solve mazes.
Project description
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
Solution
Note
All mazes start from the top left and end at bottom right
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mazegen-0.0.2.tar.gz
(4.2 kB
view details)
Built Distribution
File details
Details for the file mazegen-0.0.2.tar.gz
.
File metadata
- Download URL: mazegen-0.0.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69bf0331ddb7e94a922e0620095fbe5686174413e6b5a67a80b3f97b8cca5674 |
|
MD5 | f312a5d3a85b4b9e898d7e0fe23c9e28 |
|
BLAKE2b-256 | 11ba9d3e7625e9317db756e94051c5d9e18c2ae6c05b3d5de6b03a0e14ede8f1 |
File details
Details for the file mazegen-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: mazegen-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.6 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/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2529dc4e4d00fc58cfd9428357f4999a2e6ec66a82333021c9ea498028bf5044 |
|
MD5 | 5f146770fc789010978098ea94f7b69b |
|
BLAKE2b-256 | e77ed1cc7b10aee69ddad666db714ed279049780eb1e8b0aa3370662c034d1e1 |