Instead of writing this statement
int guess1 = Convert.ToInt32(Console.ReadLine());
Try
TryParse
method to check invalid entries like characters, read more
[
^]
int guess1;
bool result = Int32.TryParse(Console.ReadLine(), out guess1);
if (result)
{
}
else
{
}