Skip to content

Tanish0019/Genetic-Algorithm-Flappy-Bird-Using-TensorFlowJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genetic Algorithm Flappy Bird Using TensorFlowJS

Computer learns how to play flappy bird with the help of genetic algorithm. Try it here

How it works

  1. A population of birds is created. Each bird has a neural network attached to it. The weights of all the neural networks are initialised randomly
  2. Each bird has a score associated to it. The score is equal to the number of frames the bird survives.
  3. This score is used to find the fitness of each bird.

Releases

No releases published

Packages

 
 
 

Contributors