pushrobin / flappybird

https://pushrobin.github.io/flappybird/
MIT License
1 stars 0 forks source link

Fix up logic error in flappy bird #11

Closed Flux159 closed 2 weeks ago

Flux159 commented 2 weeks ago

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?