This is a repo that contains examples of how you can use bob to build bots. It also contains a bob.toml in the root of the repo which builds all of the examples as one example botpack.
- Install bob and Docker.
- Ensure Docker is running.
- Clone this repo:
git clone https://github.com/swz-git/bob-examples - Change directory into the repo (or one of the bot subfolders):
cd bob-examples - Build!
bob build bob.toml
The bots in this repo are examples of bob.toml configurations for various languages. Find the example (and instructions) for a particular language below:
- Python (Hardcoded): The
RLBot-Beastsubmodule, instructions at RLBot/python-example. - Python (ML): The
Elementv5submodule, instructions in README. - Rust: The
rust_examplefolder, thebob.tomlis intuitive. - C#: The
csharp-examplesubmodule, instructions in README. - C++ (GigaLearn): No example, but template and instructions in https://github.com/SubparN0va/GGLBot/tree/bob (bob branch).
For more advanced setups, a custom dockerfile might be needed. In that case, refer to the prebuilt_binary folder where a pre-built binary is added. Note however, that binaries are not accepted in the botpack since it defeats the purpose of bob.