Commit 0bfa1d9e authored by Matthew Hausknecht's avatar Matthew Hausknecht

Updated readme and image.

parent df411ad4
...@@ -48,8 +48,7 @@ for (int episode=0; episode<5; episode++) { ...@@ -48,8 +48,7 @@ for (int episode=0; episode<5; episode++) {
status_t status = IN_GAME; status_t status = IN_GAME;
while (status == IN_GAME) { while (status == IN_GAME) {
const std::vector<float>& feature_vec = hfo.getState(); const std::vector<float>& feature_vec = hfo.getState();
Action a = {DASH, 20.0, 0.0}; status = hfo.act(DASH, 20.0, 0.0);
status = hfo.act(a);
} }
cout << "Episode " << episode << " ended"; cout << "Episode " << episode << " ended";
} }
...@@ -63,7 +62,7 @@ for episode in xrange(5): ...@@ -63,7 +62,7 @@ for episode in xrange(5):
status = HFO_Status.IN_GAME status = HFO_Status.IN_GAME
while status == HFO_Status.IN_GAME: while status == HFO_Status.IN_GAME:
features = hfo.getState() features = hfo.getState()
status = hfo.act((HFO_Actions.DASH, 20.0, 0)) status = hfo.act(HFO_Actions.DASH, 20.0, 0.0)
print 'Episode', episode, 'ended' print 'Episode', episode, 'ended'
``` ```
......
img/hfo3on3.png

19.9 KB | W: | H:

img/hfo3on3.png

15.3 KB | W: | H:

img/hfo3on3.png
img/hfo3on3.png
img/hfo3on3.png
img/hfo3on3.png
  • 2-up
  • Swipe
  • Onion skin
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