From what i know, it is not possible to replay the game with this code, you have to reopen the game. I wanted to make it so that there is an explosion when you shoot a moon, but python just wouldn't wanna play the animation and it was just a still frame of an explosion so i gave up on that. I also wanted to add spaceships that colonise the planets when you break the moons, but i thought of it a day or two before the end of the jam so i didn't have time.