Skip to content

Using Keras and Deep Q-Network to Play FlappyBird

Notifications You must be signed in to change notification settings

Zeroto521/Keras-FlappyBird

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keras-FlappyBird

A single 200 lines of python code to demostrate DQN with Keras

Please read the following blog for details.

Showing

Requestment

  • Python 3.x
  • Tensorflow >= 1.10.0
  • pygame
  • scikit-image

Install

$ git clone https://github.com/yanpanlau/Keras-FlappyBird.git
$ cd Keras-FlappyBird
$ python qlearn.py -m run

If you want to train the network from beginning, delete the model.h5 and run with python qlearn.py -m train

Releases

No releases published

Packages

 
 
 

Languages

  • Python 100.0%