Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vani-or/haxball-ai

Reinforcement Learning based bot for Haxball 1 vs 1 problem
https://github.com/vani-or/haxball-ai

Last synced: 3 months ago
JSON representation

Reinforcement Learning based bot for Haxball 1 vs 1 problem

Awesome Lists containing this project

README

        

# Haxball-AI

![Bot-vs-Human](docs/bot_vs_human.gif)

* [Talk on Machine Learning Milan event](https://youtu.be/Ma_MopOXLCg)
* [Full gameplay demostration video](https://youtu.be/fpIe6lNM1NE)

This is an implementation of a bot for [haxball](https://www.haxball.com/) problem using Reinforcement Learning.

*Attention! This repo does not provide any connector to the browser!*

### Requirements

python 3.6+
Cython
Tensorflow (1.13+)

### Installation

Installation of dependencies

pip install -r requirements.txt

Simulator compilation with Cython

cd simulator && python setup.py build_ext --inplace

### Training

[PPO2](https://openai.com/blog/openai-baselines-ppo/) algorithm from [OpenAI-baselines](https://github.com/openai/baselines/) was used for training.