Skip to content
Reinforcement Learning using Q-learning on a Flappy Bird agent
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Reinforcement learning using Q-learning on a Flappy Bird agent. Read my blog post in this link

Running the code

  • 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
  • Uncomment this code if you want to see the agent learn in normal speed
# time.sleep(0.01)
You can’t perform that action at this time.