Skip to content

A Gym-like environment for Reinforcement Learning in Rocket League

License

Notifications You must be signed in to change notification settings

lucas-emery/rocket-league-gym

Repository files navigation

The Rocket League Gym

This is a python API that can be used to treat the game Rocket League as though it were an Gym-style environment for Reinforcement Learning projects.

Installation

Install the library via pip:

pip install rlgym[all]  // Installs every rlgym component

pip install rlgym  // Installs only the api

pip install rlgym[rl]  // Installs all rocket league packages

pip install rlgym[rl-sim]  // Installs only RocketSim rocket league packages

pip install rlgym[rl-rlviser]  // Installs RLViser and RocketSim rocket league packages

Testing everything works

RLGym is now installed! simply run example.py from our repo to ensure everything works.

Dependency Management

DO NOT specify this package as a dependency, this is an installation only package.

You should depend directly on the package you're consuming and its corresponding extras, e.g. rlgym-rocket-league[sim], rlgym-api or whichever of our libraries your project is using.

Usage

For tutorials and documentation, please visit our Wiki.

We also provide the base RLGym API in its own standalone package with no dependencies.