Can we write code in Mathematica for the game where the user guesses an integer between 1-99 produced by the computer? If you have any ideas, I would be glad if you could help. I tried this:
number = RandomInteger[{1, 99}];
While[guess =!= number, guess = Input["Guess my number"]];
Print["Well guessed!"]
RandomInteger[{1, 99}]
$\endgroup$