clear-code-projects/FlappyBird_Python

The remove_pipes function only removes the bottom pipe

VedantSharma1 opened this issue · 0 comments

This can be fixed by using <= rather than == operator
if pipe.centerx <= -600:
pipes.remove(pipe)
OR
if pipe.right <= 0:
pipes.remove(pipe)