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.
- Python >= 3.10
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.
To watch recordings, go to my HaxBall clone and load the recording file.