This is a simple game made with python and pygame. We made it possible to automate the game by impleminting some machine learning algorithms. It plays the game by itself and learns from its mistakes.
- Clone the repository
- Install the requirements
- Run the
agent.py
file bypython agent.py
- Enjoy the game
You can use the requirements.txt
file to install the requirements.
Run the following command to install the requirements.
pip install -r requirements.txt
Or you can install the requirements manually.
- Python 3.6+
- Pygame
- Numpy
- PyTorch
- matplotlib
- IPython
It's recommended to use a virtual environment to install the requirements.