Skip to main content

A simplified version of Cliffworld in an OpenAI Gym Environment

Project description


A simplified version of Cliffworld in an OpenAI Gym Environment.

This is a project by Winder Research, a Cloud-Native Data Science consultancy.


pip install gym-simple-cliffworld


import gym
import gym_simple_cliffworld

env = gym.make("SimpleCliffworld-v0")
episode_over = False
rewards = 0
while not episode_over:
    state, reward, episode_over, _ = env.step(env.action_space.sample())
    print(state, reward)
    rewards += reward
print("Total reward: {}".format(rewards))


Gitlab icon made by Payungkead from

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gym-simple-cliffworld, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size gym_simple_cliffworld-0.1.0-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size gym-simple-cliffworld-0.1.0.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page