traingame is a 2D train racing game made for demonstrating AI applications. The game is based on Laurens Koppenol' Train-a-Train Repository, With some additional tweaks to make it suitable for training Neural Networks. This code includes some examples using NEAT: Neuro Evolution of Augmenting Topologies. (http://www.cs.ucf.edu/~kstanley/neat.html)
Feel free to contact me for questions or your high score!
This project was initially used for a workshop at ProRail, the Dutch rail infrastructure company. This explains the train ;)
This project is still Work in Progress. You could run into bugs when trying it out!
Clone or download this repository, and open it in your favorite python IDE:
git clone https://github.com/timolesterhuis/traingame.git
Install the project requirements:
python -m pip install -r requirements.txt
Install the project as an editable python package:
python -m pip install -e .
and you'll be able to fiddle around!
Laurens documented his repository nicely. I didn't, but you can still use his documentation to gain a fair bit of knowledge about the traingame library.