A package to solve maze problem using A-star Algorithm.
Project description
Usage
To Install this package. Use :
pip install pathsolver
To launch the application :
from pathsolver import solve
maze = [[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 1, 1, 1, 1, 1, 0],
[0, 1, 0, 0, 0, 0, 0, 0],
[0, 0, 1, 0, 0, 0, 1, 0],
[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0]]
start = (5, 3)
end = (2, 2)
output, path = solve(maze, start, end)
- Credits: Nicholas-Swift (https://gist.github.com/Nicholas-Swift/003e1932ef2804bebef2710527008f44)
- Visit our GitHub Repository for more information: https://github.com/toshihiroryuu/PyPi--Package---pathsolver
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
pathsolver-1.0.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for pathsolver-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87b0c292cf12b8110787ca39b54dcfd4cdd795c66cd6815492bd5e869fcd9d3f |
|
MD5 | 45c1e1252f5e2718e01311adeba9d390 |
|
BLAKE2b-256 | 615ef2b8b0f802d111e594ad8d7ba4bfa4cc9d8fdef5cfb7c89c68b52c896f31 |