public static void Main()
Console.WriteLine("Welcome to Mastermind.");
Console.WriteLine("In this version of the game, you will be asked to enter in three distinct colour choices (R=Red,G=Green,B=Blue,Y=Yellow)");
Console.WriteLine("Are you ready to play (Y/N)?");
String result = Console.ReadLine().ToUpper();
Console.WriteLine("What is your favourite number from 1 to 100?");
int favNum = Convert.ToInt32(Console.ReadLine());
Console.Write("First Colour:");
String g1 = Console.ReadLine().ToUpper();
Console.Write("Second Colour:");
String g2 = Console.ReadLine().ToUpper();
Console.Write("Third Colour:");
String g3 = Console.ReadLine().ToUpper();
if (g1==C1||g1==C2||g1==C3){
if (g2==C1||g2==C2||g2==C3){
if (g3==C1||g3==C2||g3==C3){
Console.WriteLine("Number of correct positions: "+nCP);
Console.WriteLine("Number of correct colours: "+nCC);
Console.WriteLine("You won! Congrats! It's time for Vegas!");
Console.WriteLine("Number of correct positions: "+nCP);
Console.WriteLine("Number of correct colours: "+nCC);
Console.WriteLine("Not there yet! Do you want to guess again? (Y/N)");
String option = Console.ReadLine().ToUpper();
Console.WriteLine("Maybe next time!");
Console.WriteLine("Thanks for playing!");