Commit 6b328eff authored by Matthew Hausknecht's avatar Matthew Hausknecht

Updated readme.

parent a5e31cbf
...@@ -25,7 +25,6 @@ From the main HFO directory: ...@@ -25,7 +25,6 @@ From the main HFO directory:
./example/passing_agents.sh ./example/passing_agents.sh
``` ```
#### Manually Starting Games
Start a 1v1 game played by Agent2D: Start a 1v1 game played by Agent2D:
``` ```
./bin/HFO --offense-npcs=1 --defense-npcs=1 --no-sync ./bin/HFO --offense-npcs=1 --defense-npcs=1 --no-sync
...@@ -68,7 +67,7 @@ for episode in xrange(5): ...@@ -68,7 +67,7 @@ for episode in xrange(5):
status = IN_GAME status = IN_GAME
while status == IN_GAME: while status == IN_GAME:
features = hfo.getState() features = hfo.getState()
hfo.act(HFO_Actions.DASH, 20.0, 0.0) hfo.act(DASH, 20.0, 0.0)
status = hfo.step() status = hfo.step()
print 'Episode', episode, 'ended' print 'Episode', episode, 'ended'
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment