Skip to content

Entity8818/RLBotPythonExample

 
 

Repository files navigation

RLBotPythonExample

Example of a python bot using the RLBot framework, and customized for use in a classroom setting.

Getting Started

These instructions assume that you're attending some kind of session where somebody is explaining RLBot and hosting the game on one main computer.

  1. Make sure you have python 3.6 or higher installed.
  2. Download this specific branch of the repository: https://github.com/RLBot/RLBotPythonExample/zipball/puppy. Make sure you unzip if necessary.
  3. Look in the rlbot.cfg file and make sure the network_address matches what the person hosting has provided.
  4. Look in the src/bot.cfg file and change the name "AnonymousBot" to something you can recognize, so you'll know which car on the screen is yours.
  5. Run the program. This should cause a car to appear in the game on the host computer!
    • Windows: Double click on run.bat
    • Mac / Linux: Open a terminal at this folder location and run python3 run.py
  6. It didn't work yet, but now you've got all the stuff downloaded via the fast wifi connection. Now kill the script and switch to the slower connection:
  7. Connect to the wireless network called RLBot. The person hosting can tell you the password.
  8. Open the src/bot.py file in your favorite code editor and start tinkering. The behavior of the car should change immediately every time you save.

Advanced

About

Example of a python bot using the RLBot framework

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 92.2%
  • Batchfile 7.8%