Skip to content
forked from lusob/gym-ple

This package allows to use PLE as a gym environment.

Notifications You must be signed in to change notification settings

NEAT-RL/gym-ple

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

gym-ple

PyGame Learning Environment (PLE) is a learning environment, mimicking the Arcade Learning Environment interface, allowing a quick start to Reinforcement Learning in Python. The goal of PLE is allow practitioners to focus design of models and experiments instead of environment design. This package allows to use PLE as a gym environment.

Installing everything

gym_ple requires PLE, to install PLE clone the repo and install with pip.

git clone https://github.com/ntasfi/PyGame-Learning-Environment.git
cd PyGame-Learning-Environment/
pip install -e .

PLE requires PyGame installed:

On OSX:

brew install sdl sdl_ttf sdl_image sdl_mixer portmidi  # brew or use equivalent means
conda install -c https://conda.binstar.org/quasiben pygame  # using Anaconda

On Ubuntu 14.04:

apt-get install -y python-pygame

More configurations and installation details on: http://www.pygame.org/wiki/GettingStarted#Pygame%20Installation

And finally clone and install this package

git clone https://github.com/lusob/gym-ple.git
cd gym-ple/
pip install -e .

Example

Run python example.py file to play a PLE game (flappybird) with a random_agent (you need to have installed openai gym).

About

This package allows to use PLE as a gym environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%