Navigating and Visualizing paths in a 2D Matrix.
Project description
matrix_path
Description
Use the matrix class to create matrix objects and navigate the 2D matrix. Move with the right, left, up, and down functions.
The '1's represent the path.
Installation
pip install matrix_path
How to use?
from matrix import Matrix
start_point = [0, 0]
end_point = [0, 4]
walls = [[0, 1], [1, 2]]
maze = Matrix(5, start_point, end_point, walls)
maze.print_matrix()
License
© 2020 Arush Sharma
This repository is licensed under the MIT license. See LICENSE for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file matrix_path-1.1.1.tar.gz.
File metadata
- Download URL: matrix_path-1.1.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09344e50fb6c6722815d43f29117fe0757495e44bac5c592df231ff12f65a624
|
|
| MD5 |
65c8aa7c7080bf1fad566af6fccb841b
|
|
| BLAKE2b-256 |
734c4c57e75542aab7c67a97ca15a83fa07a1243253a9f7cf76940ec978e3eb6
|
File details
Details for the file matrix_path-1.1.1-py3-none-any.whl.
File metadata
- Download URL: matrix_path-1.1.1-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da1926d43220e85aae9e964ecd0f5380b86c970003e5146cb7fb732d56b9efb7
|
|
| MD5 |
1fa1f4e00ad1255b412f047c1af6f6d2
|
|
| BLAKE2b-256 |
5f5bc9c1f152793c48a5896438312b5101990519f274db44803f898149e9b093
|