Skip to content

sterlingsomers/cmu_gym

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages