Пример #1
0
        /// <summary>
        /// Logic for when a new round begins
        /// </summary>
        void BeginRound()
        {
            MainDeck.Shuffle();
            playerOne.SideDeck.Shuffle();
            playerTwo.SideDeck.Shuffle();

            playerOne.HasStood = false;
            playerOne.Board.Cards.Clear();
            playerOne.Board.UpdateSum();

            playerTwo.HasStood = false;
            playerTwo.Board.Cards.Clear();
            playerTwo.Board.UpdateSum();

            if (playerOneGoesFirst)
            {
                playerOne.BeginTurn();
            }
            else
            {
                playerTwo.BeginTurn();
            }
        }
Пример #2
0
 public void ShuffleDeck()
 {
     MainDeck.Shuffle();
 }