Skip to content

neat-python implementation to play flappy bird

License

GPL-3.0, Unlicense licenses found

Licenses found

GPL-3.0
LICENCE
Unlicense
LICENSE
Notifications You must be signed in to change notification settings

khalilrached/flappy-bird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flappy Bird

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.

Game dev

using pygame library to create 2d object.

AI training

using neat-python to create the neural-network and train the model to beat this game

install / run

  • 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

training

  • to train the model use this command
    $> python main.py --train

help

use help command to see all the commands

this project created for fun and to play with tensorflow and neat library.

About

neat-python implementation to play flappy bird

Topics

Resources

License

GPL-3.0, Unlicense licenses found

Licenses found

GPL-3.0
LICENCE
Unlicense
LICENSE

Stars

Watchers

Forks

Releases

No releases published

Languages