Demo entry 6165876

Random gameplay in Pong

   

Submitted by anonymous on Oct 05, 2016 at 11:12
Language: Python. Code size: 132 Bytes.

import gym
env = gym.make('Pong-v0')
env.reset()
for _ in range(1000):
    env.render()
    env.step(env.action_space.sample())

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).