Esempio n. 1
0
        public void countPlayerVpsWhenGameEnds()
        {
            playerVps = 0;

            CardsPiles.moveAllPlayerCardsToHisHandAfterGameEnds();

            foreach (Card card in cardsPiles.Hand)
            {
                if (card is VictoryCard)
                {
                    playerVps += ((VictoryCard)card).vpsWorth();
                }
            }
        }
Esempio n. 2
0
 public void finalizePlayerRound()
 {
     CardsPiles.moveHandToDiscardPile();
     CardsPiles.moveInPlayerToDiscardPile();
     drawCardsFromDeck(PlayerCardsPiles.INITIAL_HAND_SIZE);
 }