The program learns how to play the game, through the process of neuro-evolution.
Parameters:
- Population count in each generation
- Speed of the Pipes
- Length of gaps of the pipes
- Distance between consecutive pipes
- the Speed of evolution
Basically, the easier the game and more the population count per generation, the faster the process.
User can make the game more difficult by increasing the speed of the pipes, decreasing the lengths of gaps and the distance between consecutive pipes.
Speed of evolution just means how sped up this whole process is, you can increase it to get faster results, but it won't effect the number of generations it takes to get to the 'perfect' bird.
Increase the speed of evolution initially, and slow it down after a few generations. You'll see that the birds are a bit more 'smarter' than what they were a few generations ago.
Keep it running and eventually you will come across a somewhat perfect bird, if not perfect.
Inspired by the same project Daniel Shiffman did as a coding challenge on his Youtube channel ('The Coding Train').