private static void GusssingGame()
{
Console.Clear();
Console.WriteLine(" ***** GUESS THE NUMBER GAME ******");
Random myRandom = new Random();
int randomNumber = myRandom.Next(1, 11);
int intentos = 0;
bool incorrect = true;
do
{
Console.Write("Choose a number between 1 and 10 and press ENTER: ");
string result = Console.ReadLine();
intentos++;
if (result == randomNumber.ToString())
{
incorrect = false;
}
else
{
Console.WriteLine("Incorrect. Try again!");
}
} while (incorrect == true);
*************************************************************