Git Product home page Git Product logo

automated_flappy_bird's Introduction

Automated Flappy Bird AI

Flappy Bird AI is a sophisticated solution that employs a Neural Network trained through the NEAT (NeuroEvolution of Augmenting Topologies) algorithm to master the Flappy Bird game. Designed to continually evolve, this AI endeavors to play flawlessly without losing.

Table of Contents

Features:

  • AI Learning: Progressive learning from each gameplay to enhance precision.
  • Consistent Mastery: Strives to perfect the gameplay and never lose.
  • Real-time Visualization: Witness the AI's gameplay and admire its evolving skills.

Prerequisites

  • Python 3.x
  • Pygame
  • neat-python

Installation

  1. Clone the repository:
git clone https://github.com/MazenTayseer/Automated_Flappy_Bird.git
  1. Navigate to the cloned repository:
cd Automated_Flappy_Bird
  1. Install the necessary packages:
pip install -r requirements.txt

Usage

  1. Run the main script:
python main.py
  1. Enjoy watching the AI adeptly navigate the challenges of Flappy Bird!

How it Works

NEAT Algorithm

The NEAT algorithm empowers the AI to evolve its neural network, adapting to the intricacies of the Flappy Bird game. By evolving and refining the network topology over time, NEAT ensures the AI's consistent improvement in the game.

Game Mechanics

The AI assimilates vital game data such as its current vertical position, the upcoming gap's vertical placement, and its vertical velocity. Based on these inputs, it judiciously decides when to make the bird jump.

Contributing

Contributions are warmly welcomed! Feel free to fork this project, make enhancements, and submit pull requests. If you discover any bugs or have suggestions for improvements, please open an issue.

License

This project is under the MIT License. See the LICENSE file for complete details.

automated_flappy_bird's People

Contributors

mazentayseer avatar

Stargazers

Tomy Vu avatar Albus Silente avatar harϩha avatar

Watchers

 avatar

Forkers

user7217

automated_flappy_bird's Issues

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.