Reinforcement learning using Q-learning on a Flappy Bird agent. Read my blog post in this link
- Clone the repository
- Install Python 3.6+
- Create a virtual environment
python -m venv venv
- Activate the virtual environment
source venv/bin/activate
- Install the packages from requirements.txt
pip install -r requirements.txt
- Train the agent
python flappy-bird-PLE.py
- Uncomment this code if you want to see the agent learn in normal speed
# time.sleep(0.01)