public static void Main()
Console.WriteLine("Rolling a Die and Flipping a Coin Guessing Game!");
Console.WriteLine("Please input your first name:");
name = Console.ReadLine();
Console.WriteLine("Welcome to my Rolling a Die and Flipping a Coin Guessing Game!");
Console.WriteLine("This program will flip a coin and roll two six-sided dice.");
Console.WriteLine("You will be asked to guess the outcome of both results.");
Console.WriteLine("You may choose to get a mathematical clue or guess without it.");
Console.WriteLine("If you select no hints and guess the correct flip you may receive 2 points.");
Console.WriteLine("If you select no hints and guess the correct roll you may receive 12 points (6 points per each die).");
Console.WriteLine("A score of 14 is the best!");
Console.WriteLine("If you select math hints and guess the correct flip you may receive 1 point.");
Console.WriteLine("If you select math hints and guess the correct roll you may receive 6 points (3 points per each die).");
Console.WriteLine("A score of 7 is the best!");
Console.WriteLine(name + ", please press enter to continue!");
Random randomflip = new Random();
Random randomroll = new Random();
flipRand = randomflip.Next(1, 3);
roll1Rand = randomroll.Next(1, 7);
roll2Rand = randomroll.Next(1, 7);
hintadd = flipRand + roll1Rand + roll2Rand;
hintmult = flipRand * roll1Rand * roll2Rand;
Console.WriteLine("Please let me know if you want a math hint: [1] for hint and [2] for no hint");
hintyn = int.Parse(Console.ReadLine());
Console.WriteLine("So you want a math hint!");
Console.WriteLine("Your addition hint shows me that the sum of the rolls and the flip = " + hintadd);
Console.WriteLine("Your product hint shows me that the product of the rolls and the flip = " + hintmult);
Console.WriteLine("Please make a choice for the flip [1] for heads and [2] for tails");
flipChoice = int.Parse(Console.ReadLine());
Console.WriteLine("Please make a choice for the roll of 1st die [the numbers 1,2,3,4,5,6]");
roll1Choice = int.Parse(Console.ReadLine());
Console.WriteLine("Please make a choice for the roll of 2nd die [the numbers 1,2,3,4,5,6]");
roll2Choice = int.Parse(Console.ReadLine());
if (flipChoice == flipRand)
if (roll1Rand == roll1Choice)
if (roll2Rand == roll2Choice)
Console.WriteLine("Your score is " + score);
Console.WriteLine("My flip of the coin was " + flipRand);
Console.WriteLine("My roll of the dice were: " + roll1Rand + " and " + roll2Rand);
Console.WriteLine("Please make a choice for the flip [1] for heads and [2] for tails");
flipChoice = int.Parse(Console.ReadLine());
Console.WriteLine("Please make a choice for the roll of 1st die [the numbers 1,2,3,4,5,6]");
roll1Choice = int.Parse(Console.ReadLine());
Console.WriteLine("Please make a choice for the roll of 2nd die [the numbers 1,2,3,4,5,6]");
roll2Choice = int.Parse(Console.ReadLine());
if (flipChoice == flipRand)
if (roll1Rand == roll1Choice)
if (roll2Rand == roll2Choice)
Console.WriteLine("Your score is " + score);
Console.WriteLine("My flip of the coin was " + flipRand);
Console.WriteLine("My roll of the 1st die was" + " " + roll1Rand + " " + "My roll of the 2nd die was" + " " + roll2Rand);
Console.WriteLine(name + ", thanks for using my Rolling a Die and Flipping a Coin Guessing Game!");