Agent training

Run your agent

You can start your agent and the game server by running the following command:

$ ba train -agent powerful-jennet

Here is an example of the ouput:

A browser should open at http://localhost:8080/arena/1, displaying the Byte Arena visualization, where you will see your agent.

Note: you can disable that behavior by passing the --no-browser argument at the end of the command.

Increase the game loop frequency

By default the ticks per seconds configuration is set to 20. If you need to increase the frequency of the game loop you can pass the --tps x argument, where x is the desired value.

Over 60 tps the visualization might not be as fluid anymore. The alternative is to use a file recorder, see the use the file recorder section.

Use the file recorder

Currently in development.