# Gym Games
This is a gym compatible version of various games for reinforcenment learning.
For [PyGame Learning Environment](https://pygame-learning-environment.readthedocs.io/en/latest/user/games.html), the default observation is a non-visual state representation of the game.
For [MinAtar](https://github.com/kenjyoung/MinAtar), the default observation is a visual input of the game.
## Environments
PyGame learning environment: - Catcher-PLE-v0 - FlappyBird-PLE-v0 - Pixelcopter-PLE-v0 - PuckWorld-PLE-v0 - Pong-PLE-v0
MinAtar: - Asterix-MinAtar-v0 - Breakout-MinAtar-v0 - Freeway-MinAtar-v0 - Seaquest-MinAtar-v0 - Space_invaders-MinAtar-v0
## Installation
### Gym
Please read the instruction [here](https://github.com/openai/gym).
### Pygame
On OSX:
brew install sdl sdl_ttf sdl_image sdl_mixer portmidi pip install pygame
On Ubuntu:
sudo apt-get -y install python-pygame pip install pygame
Others: Please read the instruction [here](http://www.pygame.org/wiki/GettingStarted#Pygame%20Installation).
### PyGame Learning Environment
pip install git+https://github.com/ntasfi/PyGame-Learning-Environment.git
## MinAtar
pip install git+https://github.com/kenjyoung/MinAtar.git
### Gym-games
Install from source:
pip install git+https://github.com/qlan3/gym-games.git
Install from PyPi:
pip install gym-games
## Example
Run python test.py.
## Cite
Please use this bibtex to cite this repo:
@misc{gym-games, author = {Qingfeng, Lan}, title = {Gym Compatible Games for Reinforcenment Learning}, year = {2019}, publisher = {GitHub}, journal = {GitHub Repository}, howpublished = {url{https://github.com/qlan3/gym-games}} }
## References
[gym-ple](https://github.com/lusob/gym-ple)
[MinAtar](https://github.com/kenjyoung/MinAtar)
Metadata
Release files for gym-games 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gym-games-1.0.3.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gym_games-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.8 kB
Release files / gym-games-1.0.3.tar.gz
| Download URL | gym-games-1.0.3.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
480c515a1b11660c7cf58be045df8fa9fb911a9cb500f9a21cf2e68311757e45
|
|
BLAKE2b-256 checksum How to use checksums |
a8d1f4dc1b604641f649ed7b0ec4228e574812f4b42e546b733a05fcd78e2544
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|
Release files / gym_games-1.0.3-py3-none-any.whl
| Download URL | gym_games-1.0.3-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c263e688eb0983019e269b976be82412456474f6a5c971ec5d4ef1e00ccbaaf1
|
|
BLAKE2b-256 checksum How to use checksums |
46474eb6bd70bdcfe2f8689d78bd95bdd458d40c2f5b5dc3c6668f49e1be5604
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
|