gym-tic-tac-toe/gym_random_walk/envs/random_walk_py
2017-03-31 00:38:15 +02:00

16 lines
343 B
Plaintext

import gym
from gym import error, spaces, utils
from gym.utils import seeding
class RandomWalkEnv(gym.Env):
metadata = {'render.modes': ['human']}
def __init__(self):
print("init")
def _step(self, action):
print("step")
def _reset(self):
print("reset")
def _render(self, mode='human', close=False):
print("render")