I have a flappy bird clone in https://github.com/pushrobin/flappybird/blob/main/src/App.tsx - there's an error that's happening where after the user hits retry, we go back to the start button, but after hitting the start button the user "crashes" immediately and gets the retry screen. Are we not resetting things properly or is there a fail condition there? Can you fix it so that the game is replayable?
I have a flappy bird clone in https://github.com/pushrobin/flappybird/blob/main/src/App.tsx - there's an error that's happening where after the user hits retry, we go back to the start button, but after hitting the start button the user "crashes" immediately and gets the retry screen. Are we not resetting things properly or is there a fail condition there? Can you fix it so that the game is replayable?