Skip to content

Reinforcement Learning using Q-learning on a Flappy Bird agent

Notifications You must be signed in to change notification settings

septa97/flappy-bird-q-learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flappy-bird-q-learning

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
python flappy-bird-PLE.py
  • Uncomment this code if you want to see the agent learn in normal speed
# time.sleep(0.01)

Releases

No releases published

Packages

No packages published

Languages