public static void Main()
Console.WriteLine("Jack 'en Poy.");
Console.WriteLine("Select your weapon.");
Console.WriteLine("[1] Paper");
Console.WriteLine("[2] Rock");
Console.WriteLine("[3] Scissor");
Console.Write("Enter player 1 weapon: ");
player1 = Console.ReadLine();
if (Int32.TryParse(player1, out player1Input) == true)
if ((player1Input > 3) || (player1Input <= 0))
Console.WriteLine("Player 1 input error. Input only 1-3.");
Console.Write("Enter player 2 weapon: ");
player2 = Console.ReadLine();
if (Int32.TryParse(player2, out player2Input) == true)
if ((player2Input > 3)||(player2Input <= 0))
Console.WriteLine("Player 1 input error. Input only 1-3.");
if ((player1Input < player2Input) || (player1Input == 3 && player2Input == 1))
Console.WriteLine("Player 1 wins");
if ((player2Input < player1Input) || (player2Input == 3 && player1Input == 1))
Console.WriteLine("Player 2 wins");
Console.WriteLine("It's a draw");
Console.WriteLine("Please input a numberic value from the choices.");
Console.WriteLine("Please input a numberic value from the choices.");
Console.Write("Do you want to try again? [Y/y]: ");
tryagain = Console.ReadLine();
} while ((tryagain == "Y") || (tryagain == "y"));
Console.WriteLine("End of the program. Press any key to exit.");