ShuhuaGao / gpFlappyBird

Flappy Bird AI using Cartesian Genetic Programming (Evolutionary Computation)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pipe showing bug when score > 20000

DrunkenChicken opened this issue · comments

Pipe should call self.kill() when it left the screen. Otherwise old pipes will be shown again after 20000 scores.
Anyway, good AI work!

Thank you for pointing out this bug. Fixed it in the Game._update method: once a pipe left the screen, kill itself.