A repository for machine learning and artificial intelligence projects applied to games. Currently, the repository contains machine learning projects written in Python (either implemented from scratch, or with the use of external libraries) and visualised using the pygame package.
To get a copy of this repository, simply open up git bash in an empty folder and use the command:
$ git clone https://github.com/rbaltrusch/gameML
To run a particular project, change from the root of the repository into its project folder, install all python dependencies, then run main.py:
cd projects/<projectdir>
python -m pip install -r requirements.txt
python main.py
Games for which a small implementation and training using a neural network is planned include:
- tictactoe
- battleship
- minesweeper
- pong
- asteroids
- poker
To contribute, please read the contribution guidelines.
Written in Python 3.8.8.
This repository is open-source software available under the MIT License.
Please raise an issue for code changes. To reach out, please send an email to richard@baltrusch.net.