Adding max = max +1; Won't it be confusing the player?

I understand Very well, the line
max = max +1;

But when playing the game, I find it confusing to the player that the max number he will have to choose from will also be changed from 1000 to 1001.

I tried to change the position of this line to the void update, but “guess” went way higher than 1000.

My question is : is there a better solution for this issue ?

Move the max below the print statements so it’s assigned after the user is told 1k is the max. I think this is done in a later video.

1 Like

Thank You!

It worked fine now :+1:

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

Privacy & Terms