How could I make this redisplay a frame?

Hi all,

I stumbled across this flappy bird clone which I have been messing around with for the past day but something has bugged me with it, the fact that it doesn't return to menu once you die. I've experimented with a variety of different methods to achieve this but I either break the game, or it simply doesn't work at all. I simply request that someone is kind enough to show me how this could be achieved.

Source code here:

All help is appreciated.
Sign In or Register to comment.