This is a game of brick breaker with an IA that plays for you. The goal is to break maximum bricks with the ball. Have 3 lives, if the ball fall down, you lose one life. If you lose all your lives, you lose the game.
It uses reinforcement learning to learn how to play, and it's based on the Q-learning algorithm.
- Clone the repository
- Install the requirements
- Create a folder named
result
in the root of the project - Run the game with
python3 main.py
- Select 1 for training, 2 for playing with a trained model