Linked Questions

Popular Questions

Cartpole-v1 (human Play)

import gym
from gym.utils.play import play
play(gym.make("CartPole-v1"),keys_to_action={"a":(0,),"d":(1,)},zoom=1)

I've mapped the keys to action correctly but every time I run it, the game keeps restarting without allowing me to play. As soon as it starts, it restarts.

Related Questions