ppaquette / gym-doom

Gym - Doom environments based on VizDoom.
102 stars 31 forks source link

gym-doom

Gym Doom is an environment bundle for OpenAI Gym

Note: This environment is not maintained anymore, and uses an old version of VizDoom.


Installation ============ **Method (1)** You need to install [gym-pull](https://github.com/ppaquette/gym-pull) ```shell pip install gym-pull ``` To load and run the environments, run ```python import gym import gym_pull gym_pull.pull('github.com/ppaquette/gym-doom') # Only required once, envs will be loaded with import gym_pull afterwards env = gym.make('ppaquette/DoomBasic-v0') ``` **Method (2)** Alternatively, you can install with: ```shell pip install ppaquette-gym-doom ``` and run the environments with: ```python import gym import ppaquette_gym_doom env = gym.make('ppaquette/DoomBasic-v0') ``` Dependencies: ============ To install dependencies, run the following: ```shell apt-get install -y python-numpy cmake zlib1g-dev libjpeg-dev libboost-all-dev gcc libsdl2-dev wget unzip git ``` Environments included: ============ - ppaquette/meta-Doom-v0 - ppaquette/DoomBasic-v0 - ppaquette/DoomCorridor-v0 - ppaquette/DoomDefendCenter-v0 - ppaquette/DoomDefendLine-v0 - ppaquette/DoomHealthGathering-v0 - ppaquette/DoomMyWayHome-v0 - ppaquette/DoomPredictPosition-v0 - ppaquette/DoomTakeCover-v0 - ppaquette/DoomDeathmatch-v0