/// <summary>
 /// Reset the game after a match.
 /// </summary>
 private void Reset()
 {
     playerOneTextBox.Text             = (0).ToString();
     playerTwoTextBox.Text             = (0).ToString();
     pigLabelWhosTurnTo.Text           = Pig_Double_Die_Game.GetNextPlayersName();
     yesAnotherGameRadioButton.Checked = false;
     anotherGameGroupBox.Enabled       = false;
     rollButton.Enabled = true;
 }
        /// <summary>
        /// Play the game when the dice animation is clicked and determine the outcome of the round.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void playGame()
        {
            enableButtons(true);
            int points = Pig_Double_Die_Game.GetPointsTotal(pigLabelWhosTurnTo.Text);

            if (!Pig_Double_Die_Game.PlayGame())
            {
                SetupRound();
                CountPoints();
            }
            else
            {
                SetupRound();
                UpdatePoints(points);
                Program.showOKMessageBox("Sorry, you've thrown a 1.\nYour turn is over.\nYour score reverts to " + points + ".");
                pigLabelWhosTurnTo.Text = Pig_Double_Die_Game.GetNextPlayersName();
            }

            if (Pig_Double_Die_Game.HasWon())
            {
                WonGame();
            }
        }
 /// <summary>
 /// Get the next players turn when the hold button is clicked.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void holdButton_Click(object sender, EventArgs e)
 {
     Pig_rollOrHoldLabel.Text = "Roll die";
     holdButton.Enabled       = false;
     pigLabelWhosTurnTo.Text  = Pig_Double_Die_Game.GetNextPlayersName();
 }