A Gymnasium environment for maze-based reinforcement learning
Project description
MazeGym
9x9 maze
Random moves are used for this demo.
21x21 maze
Random moves are used for this demo.
35x15 maze
Random moves are used for this demo.
Environment Details
- Action Space: Discrete(4) - Four possible actions:
0(up),1(right),2(down),3(left). Invalid moves (moving into walls) results in an error. - Observation Space:
Box(0, 3, (height, width), int8). Contains values:0for empty paths,1for walls,2for the agent,3for the goal. - Reward:
100if the goal is reached,-1for each step taken. - Done:
Trueif the agent reaches the goal,Falseotherwise. - Truncated:
Trueif maximum steps(3 × width × height)are exceeded,Falseotherwise.
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
mazegym-1.0.1.tar.gz
(19.0 kB
view details)
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
mazegym-1.0.1-py3-none-any.whl
(18.2 kB
view details)
File details
Details for the file mazegym-1.0.1.tar.gz.
File metadata
- Download URL: mazegym-1.0.1.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b36d91d87c196fb394da433455e4df994a29b662e0662570a94e6d468199051
|
|
| MD5 |
07754d18ce1635681cd6a76101b08651
|
|
| BLAKE2b-256 |
bb7f4f5d0ea97f7da1994c0c9d82a86f62340364e9916bb3ca0ee5dd8d260abb
|
File details
Details for the file mazegym-1.0.1-py3-none-any.whl.
File metadata
- Download URL: mazegym-1.0.1-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d37385554c5dc4133e30ccb3897e03763f2e8655ebc554a70cadd27eb4f9ddf
|
|
| MD5 |
10e4939ba6f1cb467acf29d4b14f90aa
|
|
| BLAKE2b-256 |
49fa80b56239cd96bacd35620b014832aa0ec95647325c8d63f094a6cdbe6907
|