How do i reset a number after auto generating?
Guess game
eg. A user auto generated a number then pass it to a server to see if it matches the server's, if match server will regenerate another number for guessing. This is the time where my user generated number wont change when i requested for generating another number.
Please make a guess: 7000
Your guess is too large, try again!
Please make a guess: 2456
Congratulations, your guess is correct, well done!
A new number has been generated.
Please make a guess: A
Congratulations, your guess is correct, well done!<<<-- number doesnt change Please help