Skip to content

As the name suggests flappy bird game with ai included.

Notifications You must be signed in to change notification settings

GauravC4/FlappyBirdAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlappyBirdAI

As the name suggests flappy bird game with ai included. Run the code in FlappyBirdAI.js in p5.js editor available online.

If you want to play the game : in draw() simply change ai.up /mouseIsPressed/ to /ai.up/ mouseIsPressed and the bird will fly on mouseClick.

In bird object push refers to upthrust and pull refers to gravity play around !

Ai works by calculating mid point of available escape space and adjusts its movements by considering effects of upthrust and gravity.

About

As the name suggests flappy bird game with ai included.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published