Coder Social home page Coder Social logo

tarunk04 / flappy_bird_reinforcement_learning Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 1.06 MB

Reinforcement learning implementation to train AI to play flappy bird game

License: MIT License

Python 100.00%
flappy-bird-game reinforcement-learning artificial-intelligence qlearning machine-learning genetic-algorithm game deep-learning deep-q-learning python

flappy_bird_reinforcement_learning's Introduction

Flappy_Bird_Reinforcement_Learning license

This is a simple Reinforcement Learning application on Flappy bird game.

Flappy Bird

Flappy Bird game used in this project is used from repository: https://github.com/sourabhv/FlappyBirdClone

Installation Guide

  1. Python 3.5.x and PyGame 1.9.X is required

  2. Clone this repository: https://github.com/tarunk04/flappy_bird_reinforcement_learning.

  3. Run python train.py.

  4. Wait for training to be done (Models will be saved in the folder Models of the repository).

  5. Run python flappy.py enter location of trained model and press Enter to see the performance of the model.

NOTE Trained model is already provided in the folder Models/Samples/flappy_bird_model_final.h5. Run python flappy.py and enter anything as text to load default path and enjoy...

ScreenShot

Flappy Bird Flappy Bird

High Score

High Score so far achieved using the trained model ( provided in models/samples/) is : 25378

Flappy Bird


BuyMeCoffe

flappy_bird_reinforcement_learning's People

Contributors

masonschafercodes avatar tarunk04 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

clynie thekael99

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.