Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.28 KB

File metadata and controls

24 lines (19 loc) · 1.28 KB

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 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.
  4. 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
  5. 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