Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.81 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.81 KB

Flappy Bird played by Reinforcement Learning Algorithms

Overview

This project was created as an assignment for a lecture at the UZH. A group of 4 students were involved. The project uses two different reinforcement learning algorithms, both of which are applied to the game Flappy Bird. The reinforcement learning algorithms were taken from other existing Repos and merged into one project and the model was re-trained.

Algorithms

  • Asynchronous Actor-Critic Agents (A3C)
  • Deep Q-Network

Installation Dependencies:

  • Python 3.5
  • pygame
  • Keras 2.0
  • scikit-image
  • TensorFlow
  • OpenCV-Python
  • h5py

How to Run?

samlpe

git clone https://github.com/jgresc/FlappyBird-GameAgent.git
cd RLGameAgents
python run.py

Train Results

Different hyperparameters were tried out, such as various activation functions for the A3C algorithm. sample

The DQN algorithm was less efficient, and took more time to produce decent results. sample

However, it also turned out that the trained DQN can play FlappyBird better than the A3C on average.

Disclaimer

This work is highly based on the following repos: