Commit cf642f04 authored by Matthew Hausknecht's avatar Matthew Hausknecht

Updated Readme.

parent b0826462
...@@ -40,7 +40,7 @@ Or do both in a single command: ...@@ -40,7 +40,7 @@ Or do both in a single command:
Example agents are provided in the `example` directory. Below are two Example agents are provided in the `example` directory. Below are two
minimal examples: minimal examples:
#### Example C++ Agent #### C++ Agent
```c++ ```c++
HFOEnvironment hfo; HFOEnvironment hfo;
hfo.connectToAgentServer(6000, LOW_LEVEL_FEATURE_SET); hfo.connectToAgentServer(6000, LOW_LEVEL_FEATURE_SET);
...@@ -55,7 +55,7 @@ for (int episode=0; episode<5; episode++) { ...@@ -55,7 +55,7 @@ for (int episode=0; episode<5; episode++) {
} }
``` ```
#### Example Python Agent #### Python Agent
```python ```python
hfo = hfo.HFOEnvironment() hfo = hfo.HFOEnvironment()
hfo.connectToAgentServer(6000, HFO_Features.LOW_LEVEL_FEATURE_SET) hfo.connectToAgentServer(6000, HFO_Features.LOW_LEVEL_FEATURE_SET)
......
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