Machine-Learning-Flappy-Bird is an educational machine learning project that demonstrates how an artificial intelligence agent can learn to play the Flappy Bird game using neural networks and evolutionary algorithms. The system simulates a population of birds that each possess their own neural network, which acts as a decision-making controller during gameplay. The neural network receives input features representing the bird’s position relative to the next obstacle and determines whether the bird should flap or remain idle. Over successive generations, a genetic algorithm evolves the neural networks by selecting high-performing agents and recombining their parameters to produce improved offspring. This process allows the AI agents to gradually learn better strategies for navigating the obstacles and surviving longer in the game environment.

Features

  • Neural network–based AI agents that control gameplay decisions
  • Genetic algorithm training process that evolves better strategies
  • HTML5 game implementation using the Phaser framework
  • Input features representing distance and height relative to obstacles
  • Population-based learning approach with fitness evaluation
  • Visualization of AI agents learning to navigate the game environment

Project Samples

Project Activity

See All Activity >

Categories

Machine Learning

License

MIT License

Follow Machine-Learning-Flappy-Bird

Machine-Learning-Flappy-Bird Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Machine-Learning-Flappy-Bird!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Machine Learning Software

Registered

2026-03-12