OpenAI Gym Environment of the Chrome T-Rex Game
A pygame based port of the Chrome T-Rex Game as an OpenAI Gym Environment.
Important info
You can change the FPS of the game by adjusting the env.FPS value. By default, it is at 60.
Action Space = [0, 1, 2]
0 : No action
1 : Duck
2 : Jump
You can install this from PYPI:
pip3 install gym-dino
You can import it as:
import gym_dino
Small backstory
I am currently working on some reinforcement learning research problems and really wanted a simple yet effective environment to train an agent on. I realised that the Chrome game ain't bad at all especially in this scenario.
So have fun, any help to further develop on this is welcome.
Right now, only render, step, reset and close function have been implemented.
Special thanks to Shivam Shekar's implementation of the original game using pygame.
Metadata
Release files for gym-dino 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_dino-0.0.4.tar.gz | 119.4 kB | Without provenance | Details for gym_dino-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gym_dino-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for gym_dino-0.0.4-py3-none-any.whl |
Total release size: 121.0 kB
Release files / gym_dino-0.0.4.tar.gz
| Download URL | gym_dino-0.0.4.tar.gz |
|---|---|
| Size | 119.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
566a3a3a23652cd049df7409af8325055b9c9c6d30129d4abe020fe37c9f157f
|
|
BLAKE2b-256 checksum How to use checksums |
3c63ca78484c6ad3a95693dd58a4e80fd764bf560b7e7b5780aed6d276561ee0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15
|
Release files / gym_dino-0.0.4-py3-none-any.whl
| Download URL | gym_dino-0.0.4-py3-none-any.whl |
|---|---|
| Size | 1.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e5bfd506b2b98ddeaee66b1f16855b0633047bfc42c3fe44586677dc94a5a55
|
|
BLAKE2b-256 checksum How to use checksums |
fe24ffda6fa3da24253a966718f68e0eac12fa085d89f20278b011bdf42d77a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15
|
Security for gym-dino 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.