this repo is an AI model trained to beat Flappy Bird game with the help of ML and Neural-Network. this project was divided on 2 section game-dev and AI-training.
using pygame
library to create 2d object.
using neat-python
to create the neural-network and train the model to beat this game
- 1 install dependencies:
$> python install.py # to install dependencies
- 2 run the project
$> python main.py # to start the game and play it
$> # or to play vs the ai
$> python main.py --with-ai --level=[0-9]
$> # only the bot play
$> python main.py --ai
- to train the model use this command
$> python main.py --train
use help command to see all the commands