diff --git a/NumberGuessGame/Program.cs b/NumberGuessGame/Program.cs index 7117ef7..28a8267 100644 --- a/NumberGuessGame/Program.cs +++ b/NumberGuessGame/Program.cs @@ -49,9 +49,9 @@ public static void Main(string[] args) } System.Threading.Thread.Sleep(2000); - int secret = (int)(r.NextDouble() * 100.0); + int secret = (int)(r.NextDouble() * 10.0); - Console.WriteLine("Great! We have our number! Now guess out of 100!"); + Console.WriteLine("Great! We have our number! Now guess out of 10!"); while (true){ //our main game loop @@ -67,7 +67,7 @@ public static void Main(string[] args) } //Okay, we have a valid int, but we need to make sure it's in range - if (iGuess >= 100 || iGuess < 0){ + if (iGuess >= 10 || iGuess < 0){ Console.WriteLine("That's not how this works! That's not how any of this works! Guess again!"); continue; }