Fixed the AskToPlayAgain method

Hello there,

Let me introduce myself first, I’m Geordi, 19 years old and doing a game development study in Amsterdam. At this study I don’t learn unreal engine which I want to learn for a more challenging internship.

Okay, so to get to the topic, it irritated me that I could use any key except y to exit the game after completing it. So I made a little change to the code so you can now only use y and n, and it uses recursion to accomplish this. So i’m pretty stoked about it actually working. :smiley:
Here’s the code:
image

I hope you can learn something from it!

If you have any questions about the code, feel free to ask!

Never mind it doesn’t work, it somehow goes back to the game after typing in a random letter and then type n.

Privacy & Terms