Demo entry 6633198

RandomLolAgent

   

Submitted by Zach Barnes on Aug 01, 2017 at 08:55
Language: Python. Code size: 293 Bytes.

envManager = LolEnvManager(configType='game', pathToGameServerExe, pathToGameClientExe)
env = envManager.make()
obs = env.reset()
while (True):
    randomAction = random.choice(env.actionSpace)
    obs, reward, done, info = env.step(randAction)
    if done: break
 envManager.tearDown()

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).