Gym Breakout environment using Pygame
Project description
gym-breakout-pygame
Gym Breakout environment using Pygame.
Preliminaries
Install
Install with pip
:
pip3 install gym_breakout_pygame
Or, install from source:
git clone https://github.com/whitemech/gym-breakout-pygame.git
cd gym-breakout-pygame
pip install .
Development
-
clone the repo:
git clone https://github.com/whitemech/gym-breakout-pygame.git cd gym-breakout-pygame
-
Create/activate the virtual environment:
pipenv shell --python=python3.7
-
Run a short demo:
python gym_breakout_pygame --random --record
Check for an .mp4
file in videos/
. You should get:
-
Enable fire:
python gym_breakout_pygame --fire
Tests
We use tox
for testing:
tox -e py3.x
Replace x
depending on the minor version of your Python interpreter. E.g.
tox -e py3.7
Credits
The code is largely inspired by RLGames
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for gym_breakout_pygame-0.1.1.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd7b5a594a6091b88d6859a4ae05a064d3ca766add88d85d31acb648859e0103 |
|
MD5 | 44d91a4adcdce1ff0e551d6544818376 |
|
BLAKE2b-256 | 2801b668f150b95196253e2aa2376390f942ed56ba397ff59bdd6e0bbed5c772 |
Close
Hashes for gym_breakout_pygame-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05d64027aef3d8be601973a8421fc6fb71ceb11daa0799757ec53c4451a246f1 |
|
MD5 | edff88398a8656b122c850adc76afc04 |
|
BLAKE2b-256 | 73f623b67b45949cbe5b6dfbe660e0589adb66ab993010f1bdc340a45e1f9756 |