xviniette / FlappyLearning

Program learning to play Flappy Bird by machine learning (Neuroevolution)
http://xviniette.github.io/FlappyLearning/
MIT License
3.99k stars 498 forks source link

may be it's variable 'i'? #19

Closed wly2014 closed 7 years ago

wly2014 commented 7 years ago

Neuroevolution.js>line 203: var n = JSON.parse(JSON.stringify(this.genomes[0].network)); may be this? var n = JSON.parse(JSON.stringify(this.genomes[i].network)); @xviniette

xviniette commented 7 years ago

No, i just copy the perceptron architecture by this way. All weight are randomized after.