using static System.Console;
var randomNumberCreator = new Random();
var computerChoice = randomNumberCreator.Next(1, 4);
WriteLine("Type in Rock, Paper, or Scissors");
string userChoice = ReadLine();
if (userChoice.ToLower() == "rock")
WriteLine("The computer chose rock");
WriteLine("It is a tie ");
else if (userChoice.ToLower() == "paper")
WriteLine("The computer chose paper");
WriteLine("It is a tie ");
else if (userChoice.ToLower() == "scissors")
WriteLine("The computer chose scissors");
WriteLine("It is a tie ");
WriteLine("You must choose rock, paper or scissors!");
else if (computerChoice == 2)
if (userChoice.ToLower() == "rock")
WriteLine("The computer chose paper");
WriteLine("Sorry you lose, paper beat rock");
else if (userChoice.ToLower() == "paper")
WriteLine("The computer chose scissors");
WriteLine("Sorry you lose, scissors beat paper ");
else if (userChoice.ToLower() == "scissors")
WriteLine("The computer chose rock");
WriteLine("Sorry you lose, rock beats scissors");
WriteLine("You must choose rock, paper or scissors!");
else if (computerChoice == 3)
if (userChoice.ToLower() == "rock")
WriteLine("The computer chose scissors");
WriteLine("You win, rock beats scissors");
else if (userChoice.ToLower() == "paper")
WriteLine("The computer chose rock");
WriteLine("You win, paper beats rock");
else if (userChoice.ToLower() == "scissors")
WriteLine("The computer chose paper");
WriteLine("You win, scissors beat paper");
WriteLine("You must choose rock, paper or scissors!");