Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 784 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 784 Bytes

Let Python, Play Python

Preview

What is this?

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.

How to run?

  1. Clone the repository
  2. Install the requirements
  3. Run the agent.py file by python agent.py
  4. Enjoy the game

Requirements

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.