DeepFlapPyBird is a project that trains an agent using Deep Q-Learning to play flappybird game. Despite many other existed versions, this project does not use the game frames images as input and it is implemented inside the game and it will get the observations with the help of a custom gym environment.
This project is a modified clone of FlaPyBird repository.
- Create a python virtual environment to install required packages (optional):
$ python3 -m venv venv
$ source venv/bin/activate- Install PyGame (2.x.x recommended):
$ pip install pygame- Install OpenAI Gym:
$ pip install gym-
Install PyTorch as it's documentation.
-
Install NumPy:
$ pip install numpy