Jul-07-2020, 11:44 AM
Thanks for your response,
I checked the programm again and the replay logic does work. So I don't know why you have that issue. I do agree with you about the commenting. That was kinda bad on my part. You talked about exiting the programme and why I used sys.exit(). Well the thing is, I don't know how to break out of the function any other way. Because the function already started up again, when I'm asking if you wan't to quit the game. So the only way to remedy that was to use the sys.exit(). If you have any better ways, I'd like to hear it.
Thanks!
I checked the programm again and the replay logic does work. So I don't know why you have that issue. I do agree with you about the commenting. That was kinda bad on my part. You talked about exiting the programme and why I used sys.exit(). Well the thing is, I don't know how to break out of the function any other way. Because the function already started up again, when I'm asking if you wan't to quit the game. So the only way to remedy that was to use the sys.exit(). If you have any better ways, I'd like to hear it.
Thanks!