Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 587 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 587 Bytes

gym-gridworld

Basic implementation of gridworld game for reinforcement learning research.

Install gym-gridworld

install virtual environment for gridworld

cd gym-gridworld
conda env create -f environment.yml
source gridworld
pip install -e .

Use gym-gridworld

import gym
import gym_gridworld
env = gym.make('gridworld-v0')
_ = env.reset()
_ = env.step(env.action_space.sample())

Visualize gym-gridworld

In order to visualize the gridworld, you need to set env.verbose to True

env.verbose = True
_ = env.reset()