Skip to content

Luciferbobo/Flappybird

Repository files navigation

AI Flappybird

This is a project for utilizing reinforcement learning in Flappybird, allowing players to compete with an DQN-based AI agent.

1.Intro

(Left AI, Right Player)

·Epoch 1000 Score:1-2

·Epoch 10k Score:20+

·Epoch 100w Score:200+

2.Algorithm

Q-Learning

Q-Learning iteration function

Using neural network to fit Q(s, a)

3.How to play

Main requirements:

torch
cv2
pygame

Space→Jump

About

Play Flappybird with DQN (Reinforcement Learning for Flappybird)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors