public static void Main()
int playerOneGamePts = 0;
int playerTwoGamePts = 0;
Console.WriteLine ("What number would you like to up to?");
totalPts = Convert.ToInt32 (Console.ReadLine());
Console.WriteLine ("Your player one game points are" + Turn(playerOneGamePts + ".");
Console.WriteLine ("Your player two game points are" + Turn(playerOneGamePts + ".");
public static int Turn(int _GmPts)
Random numberGenerator = new Random ();
playerRoll = numberGenerator.Next (1,7);
Console.WriteLine ("Your roll is " + playerRoll + ".");
roundTotal += playerRoll;
Console.WriteLine ("You rolled a 1! Your round points are 0. Next player");
Console.WriteLine ("Total points for this round is {0}. Would you like to continue?", roundTotal);
Console.WriteLine ("Press any key to continue or n to exit folled by and enter.");
nextPlayer = Console.ReadLine ();
public static void Introduction()
Console.WriteLine ("WELCOME TO THE DICE GAME CALLED PIG");
Console.WriteLine ("A two player game of chance, courage and risk");
Console.WriteLine ("Instructions: Each turn the player rolls the dice and collects the number of points on the dice, unless the roll is a one which ends the turn and gives zero points.");
Console.WriteLine ("The player may choose to continue to roll, but risks the possiblilty of rolling a one. A one means you lose all the points for that roll and the previous rolls of that turn.");
Console.WriteLine ("The standerd number points to win the game is 100.");