rogue-gym python API
Python interface of Rogue-Gym compatible with Open AI Gym environments.
API documents
COMING SOON
Example
>>> from rogue_gym.envs import RogueEnv
>>> CONFIG = {
... 'width': 32, 'height': 16,
... 'dungeon': {
... 'style': 'rogue',
... 'room_num_x': 2, 'room_num_y': 2
... }
... }
>>> env = RogueEnv(max_steps=100, config_dict=CONFIG)
>>> rewards = 0
>>> state = env.reset()
>>> for i in range(10):
... # move right
... state, reward, done, _ = env.step('l')
... rewards += reward
...
>>> env
---
.@|
..|
Level: 1 Gold: 0 Hp: 12(12) Str: 16(16) Arm: 0 Exp: 1/ 0
Metadata
Release files for rogue-gym 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| rogue_gym-0.0.2-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| rogue_gym-0.0.2-cp37-cp37m-manylinux1_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | Linux glibc 2.5+ x86-64 | Details |
| rogue_gym-0.0.2-cp37-cp37m-macosx_10_13_x86_64.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.13+ x86-64 | Details |
| rogue_gym-0.0.2-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
| rogue_gym-0.0.2-cp36-cp36m-manylinux1_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.5+ x86-64 | Details |
| rogue_gym-0.0.2-cp36-cp36m-macosx_10_13_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | macOS 10.13+ x86-64 | Details |
Total release size: 8.9 MB
Release files / rogue_gym-0.0.2-cp37-cp37m-win_amd64.whl
| Download URL | rogue_gym-0.0.2-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 874.7 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e786ca664b1fdaa254d3faf1a527023c7e1db56d8267a25ad78b892aa6483f59
|
|
BLAKE2b-256 checksum How to use checksums |
9eefa376aeb8a4f6e03e89a2eaece41dfaaab80b938cf498bdb89413da5d4778
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.7
|
Release files / rogue_gym-0.0.2-cp37-cp37m-manylinux1_x86_64.whl
| Download URL | rogue_gym-0.0.2-cp37-cp37m-manylinux1_x86_64.whl |
|---|---|
| Size | 3.4 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
cebad754e9bba55ac1ca4b24c84ace5afa81dafc562ab8c04748227e35695725
|
|
BLAKE2b-256 checksum How to use checksums |
04afeb7c603a92d1b09f266e7403217508db6f7852a19fe0d4a04a7176badec7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.7
|
Release files / rogue_gym-0.0.2-cp37-cp37m-macosx_10_13_x86_64.whl
| Download URL | rogue_gym-0.0.2-cp37-cp37m-macosx_10_13_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
8069411c11402f5a7e46c38a183047be097d7d6450743726b16b35fcd36a3632
|
|
BLAKE2b-256 checksum How to use checksums |
a4ac4ffe23a2f58952ddd6ce8a575dd5478ab27a3c25e80b6e8cd2c96bb11674
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.7
|
Release files / rogue_gym-0.0.2-cp36-cp36m-win_amd64.whl
| Download URL | rogue_gym-0.0.2-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 874.9 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
830fefb8b9e089e8fda8783f8863ac0d7f17dced11bb556702b929445c81ab1d
|
|
BLAKE2b-256 checksum How to use checksums |
48d4254b0c0daad288d8a668812c49e4a58f2ad88afc46b03d18c2a598e40f5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.7
|
Release files / rogue_gym-0.0.2-cp36-cp36m-manylinux1_x86_64.whl
| Download URL | rogue_gym-0.0.2-cp36-cp36m-manylinux1_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
206d66d22b66bd143250d05adf5628a252904f797d8820f99257382a6e095d55
|
|
BLAKE2b-256 checksum How to use checksums |
19df319b5cfb6ba1e292c43f83ce8e06ea7f46237d25585356dc82674190eaad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.7
|
Release files / rogue_gym-0.0.2-cp36-cp36m-macosx_10_13_x86_64.whl
| Download URL | rogue_gym-0.0.2-cp36-cp36m-macosx_10_13_x86_64.whl |
|---|---|
| Size | 1.0 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
9c37f9685cb43e57ca6d6f9da6e23248bf1b721157c495898a9b1ed81d585b01
|
|
BLAKE2b-256 checksum How to use checksums |
9ea2bd5bbc429375bc38262669adb98076fe576ad2aa6c4892f7e8340f25ef45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.26.0 CPython/3.6.7
|