gym-maze
A simple 2d maze environment for Open AI Gym, where the agent needs to finds its way from the top left corner to the bottom right corner.
Action space
The agent may only choose to go up, down, left, or right ("N", "S", "W", "E"). If the way is blocked, it will remain at the same the location.
Observation space
The observation space is the (x, y) coordinate of the agent. The top left cell is (0, 0).
Reward
A reward of 1 is given when the agent reaches the goal. For every step in the maze, the agent recieves a reward of -0.1/(number of cells).
End condition
The maze is reset when the agent reaches the goal.
Maze Versions
Pre-generated mazes
- 5 cells x 5 cells: MazeEnvSample5x5
- 10 cells x 10 cells: MazeEnvSample10x10
- 25 cells x 25 cells: MazeEnvSample25x25
- 50 cells x 50 cells: MazeEnvSample50x50
- 100 cells x 100 cells: MazeEnvSample100x100
Randomly generated mazes
- 5 cells x 5 cells: MazeEnvRandom5x5
- 10 cells x 10 cells: MazeEnvRandom10x10
- 25 cells x 25 cells: MazeEnvRandom25x25
- 50 cells x 50 cells: MazeEnvRandom50x50
- 100 cells x 100 cells: MazeEnvRandom100x100
Requirements
You need Python 3.6 or 3.7 to run the script. After this, install the package.
python setup.py install
Another way to install the package is by using test.pypi.org.
pip install gym-maze-trustycoder83
Metadata
Release files for gym-maze-trustycoder83 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gym-maze-trustycoder83-0.0.4.tar.gz | 23.7 kB | Without provenance | Details for gym-maze-trustycoder83-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gym_maze_trustycoder83-0.0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for gym_maze_trustycoder83-0.0.4-py2.py3-none-any.whl |
Total release size: 41.9 kB
Release files / gym-maze-trustycoder83-0.0.4.tar.gz
| Download URL | gym-maze-trustycoder83-0.0.4.tar.gz |
|---|---|
| Size | 23.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8bd54443cf1fe640b40f05d16d2328bee8b6e0ad5a451d110618a45e8dbfd0b6
|
|
BLAKE2b-256 checksum How to use checksums |
d686483fd06e64be05c491bc31374866f0c5ca7132ec41295108d9066b627530
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.2
|
Release files / gym_maze_trustycoder83-0.0.4-py2.py3-none-any.whl
| Download URL | gym_maze_trustycoder83-0.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 18.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d0a69b0faaaf12602597c2ddec72f77deefcdb48b52078ca6c6aee32887bdc8e
|
|
BLAKE2b-256 checksum How to use checksums |
75e0e8da522c52d9697ed8eb612303e8f3cef25064e46dfd33c605ea5a0f0cb5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.2
|
Security for gym-maze-trustycoder83 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.