Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
WillDudley authored Oct 25, 2022
1 parent dcd1d3b commit b3f537d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Environments can be interacted with in a manner very similar to Gymnasium:
env.reset()
for agent in env.agent_iter():
observation, reward, termination, truncation, info = env.last()
action = env.action_space(agent).sample() # this is where you would insert your policy
action = None if termination or truncation else env.action_space(agent).sample() # this is where you would insert your policy
env.step(action)
```

Expand Down

0 comments on commit b3f537d

Please sign in to comment.