issue
At start of the game, if user does not press j to start the movement of the bird, bird will eventually run into either the upper or lower pipe and stop.
if user then presses j, the bird dies and requires the game to be restarted.
Minimum needed to reproduce error
start game and don't press anything
Recommendation
- if user has not pressed any buttons and there is a collision detected, auto restart.
- do not have the bird move until the user presses a button.
issue
At start of the game, if user does not press j to start the movement of the bird, bird will eventually run into either the upper or lower pipe and stop.
if user then presses j, the bird dies and requires the game to be restarted.
Minimum needed to reproduce error
start game and don't press anything
Recommendation