Your compare module just printed things, but it never did anything if the user won.
Now, it returns True if the user guessed correctly and we can use that to start another game