Code Monkey home page Code Monkey logo

frostyfeng / ai-flappybird Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omar-mahfouz/ai-flappybird

0.0 0.0 0.0 136 KB

FlappyBird Using Genetic Algorithm and Neural Networks: In this project, we have implemented an AI for the Flappy Bird which makes the computer play the game much more efficient as compared to what a normal human being can do. We have achieved these goals using Genetic Algorithms with an underlying Neural Network Architecture. You can see this project in youtube: https://youtu.be/IWwaMLeiYp4 . Implmentation: 1) Neural Network: we have neural network with five nodes, one for Bird Position and one for Velocity and one for Distance between next pipe and one for Upper pipe height and finally for Lower pipe height. There is one output means perform flap and else do nothing and without any hidden layer. Each node uses the sigmoid function as its activation function. 2) Genetic Algorithm: We sort the individuals of the current generation in decreasing order of their fitness values, then we get top 25% directly to the next generation. Then we do cross-over and add them to next generation. References: https://www.cse.iitb.ac.in/~aviral/reportFlappy.pdf https://medium.com/towards-data-science/neural-network-plays-flappy-bird-e585b1e49d97

C# 100.00%

ai-flappybird's People

Contributors

omar-mahfouz avatar

Watchers

 avatar

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.