Skip to content
Snippets Groups Projects
Commit 7d16a1bd authored by Lanti Davide's avatar Lanti Davide
Browse files

Turn examples into a proper module

parent 69563f0b
No related branches found
No related tags found
No related merge requests found
......@@ -81,5 +81,5 @@ Episode terminated with a reward of -5 for agent Eater_c881e1b0
You can also use a player defined in a script; e.g., if the player class `GooPlayer` is defined in the `eater_usage.py` you can use the `eater_usage:GooPlayer` entry. Remember Python rules for finding modules, where the current directory is added to the search path. If the script is in a different directory, you can use the `--path` argument to tell the script where to find it:
```bash
gridrunner --world EaterWorld --entry eater_usage:GooPlayer --path examples --noshow --horizon 5 ./examples/eater-world.json
```
\ No newline at end of file
gridrunner --world EaterWorld --entry eater_usage:GooPlayer --path examples --noshow --horizon 5 ./resources/eater-world.json
```
......@@ -109,7 +109,7 @@ def main(*cargs):
if args.example:
ex = ex_names[args.example.lower()]
else:
# Randomly play one of the examples
# Randomly play one of the examples_11
ex = random.choice(EXAMPLES)
print('Example {}:'.format(ex.__name__))
......
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment