The problem was caused because Spacebar button and up Buttons were not handled properly in the pygame loop.
It was generating an error
Traceback (most recent call last):
File "Flappy.activity/main.py", line 173, in run
event.type == pygame.KEYDOWN and any(
^^^^
TypeError: any() takes exactly one argument (2 given)
The problem was caused because
Spacebar
button andup
Buttons were not handled properly in thepygame loop
.It was generating an error