Number Wizard - Up or Down will get stuck on a number, then repeat itself?


I am using the latest version of Unity. As far as I know I have written the code exactly like the video. However after pressing Up or Down a few times, it will get stuck on a number.

My Code:

I’m totally stuck on what to do! Maybe one of you fine people can help me?


Well, in this example you pressed up after 109, then a few presses later you pressed down after 111. The only possible answer is 110, which is why it’s stuck on it.

1 Like

Oh right. I was confused because I thought I saw Ben do it in the tutorial but I missed that he actually started the game again quickly whilst checking the edge conditions. I just tried it now and it makes sense now. Thanks!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms