Introduction

A toolkit for training RL bots in a fast simulation and evaluating their performance.

1 min read

What's included#

Simulation accuracy#

The bots train in RocketSim, a fast open-source copy of Rocket League's physics. To check how close the copy is, we play the same situations in RocketSim and in the real game, then compare them tick by tick. Where they differ, we patch RocketSim.

Training bots#

A PyTorch learner trains each bot by reinforcement learning: the bot plays, gets rewarded for good outcomes, and improves, mostly by playing against copies of itself. The games run in RocketSim, thousands at once.

Experimental: a GPU port of RocketSim's physics, still in progress. Training doesn't use it yet.

Evaluation#

Each bot plays games from starting positions it never saw in training: against scripted bots, its own earlier versions, and community bots such as Necto and Nexto, to judge where it stands. Results come as win rates with confidence intervals and as Elo-style ratings.

Visualizations#

Watch bots and recorded games in 3D with RLViser, and follow training progress in charts. The Command Center, a local page of the dev server (just web-dev), shows training runs live and runs common commands as buttons.

How the pieces connect, and what every directory holds, is on the Repository map.

Where to go next#