HaxBallGym is a Python package that can be used to treat the game HaxBall as though it were an OpenAI-style environment for Reinforcement Learning projects.


Keywords
gym-environment, haxball, python, reinforcement-learning
Install
pip install haxballgym==0.5.8

Documentation

HaxBallGym

Code style: black

HaxBallGym is a Python package that can be used to treat the game HaxBall as though it were an OpenAI Gym-style environment for Reinforcement Learning projects.

Requirements

  • Python >= 3.10

Installation

Install the library via pip:

pip install haxballgym

That's it! Run example.py to see if the installation was successful. The script assumes you have a recordings folder from where you run the script.

Recordings

To watch recordings, go to my HaxBall clone and load the recording file.

Discord

Join our Discord server!