Flappy-Bird-Using-Artificial-Intelligence
Created Flappy bird using pygame and neat.
Getting Started
These instructions will get you a copy of the project set up and running on your local machine
Prerequisites
What things you need to install the software and how to install them
Installation for Mac and Windows
Mac
Install Homebrew
Install Python3
Install Anaconda for Python 3.7 from https://www.anaconda.com/distribution/
Install pygame
Install neat
Running the test file
1)Go to the repository of the Flappy bird file in the terminal
2)Type python flappy_bird.py file
3)The file will execute
Note: you can change the population (pop_size) of birds by editing the info file if the population is less then it takes more generations to get better results and if we increase the population the training will get better for each generation and gets better results with less generations
Windows
1)Install Python3 in windows and check it is running updated version
2)Install Anaconda for Python 3.7 from https://www.anaconda.com/distribution/
3)Install pygame and neat with same mac commands
4)Go to the repository of the Flappy bird file in the terminal and run python flappy_bird.py file
Training with 5 Birds
Training with 10 Birds
Training with 20 Birds
1 like · 87 views · Jan 28, 2024
Contribute to vivek-ram/Flappy-Bird-Using-Artificial-Intelligence development by creating an account on GitHub.