public static void Main(string[] args)
Console.WriteLine("Roll two dice and flipping a coin guessing game!");
Console.WriteLine("Please input your first name");
name = Console.ReadLine();
Console.WriteLine("Welcome to my Roll a dice and flipping a coin guessing game!");
Console.WriteLine("My 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 for each die you may receive 6 points each.");
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 for each die you may receive 3 points each.");
Console.WriteLine("A score of 47 is the best!");
Console.WriteLine(" Please hit enter to start!");
Random randomflip = new Random();
Random randomroll = new Random();
Random randomsecroll = new Random();
flipRand = randomflip.Next(1,3);
rollRand = randomroll.Next(1,7);
secrollRand = randomsecroll.Next(1,7);
hintadd = flipRand + rollRand + secrollRand;
hintmulti = flipRand * rollRand * secrollRand;
Console.WriteLine("Please let me know if you would like a mathematical hint. [1] for yes! and [2] for no!");
hintny = int.Parse(Console.ReadLine());
Console.WriteLine("So you want a mathematical hint!");
Console.WriteLine("Your addition hint shows me that the sum of your rolls and the flip equals " + hintadd);
Console.WriteLine("Your multiplication hint shows me that the product of your rolls and the flip equals " + hintmulti);
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 the die [the numbers 1,2,3,4,5,6]" );
rollchoice = int.Parse(Console.ReadLine());
Console.WriteLine("Please make a choice for the roll of the second die [the numbers 1,2,3,4,5,6]" );
secrollchoice = int.Parse(Console.ReadLine());
if (flipchoice == flipRand)
if (rollchoice == rollRand)
if (secrollchoice == secrollRand)
Console.WriteLine("Your score is " + score);
Console.WriteLine("My flip of the coin was " + flipRand);
Console.WriteLine("My roll of the die was " + rollRand);
Console.WriteLine("My roll of the second die was " + secrollRand);
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 the die [the numbers 1,2,3,4,5,6]" );
rollchoice = int.Parse(Console.ReadLine());
Console.WriteLine("Please make a choice for the roll of the second die [the numbers 1,2,3,4,5,6]" );
secrollchoice = int.Parse(Console.ReadLine());
if (flipchoice == flipRand)
if (rollchoice == rollRand)
if (secrollchoice == secrollRand)
Console.WriteLine("Your score is " + score);
Console.WriteLine("My flip of the coin was " + flipRand);
Console.WriteLine("My roll of the die was " + rollRand);
Console.WriteLine("My roll of the second die was " + secrollRand);
Console.WriteLine("Thank you for using my Roll a dice and flipping a coin guessing game!");