示例#1
0
        public void SetupRound(int firstPlayer)
        {
            CardStack stack = CardStack.GetCompleteStack(HighestCardValue);

            stack.Shuffle();
            foreach (Player player in Players)
            {
                player.GiveHand(stack.DrawCards(15));
            }

            Tricks     = ColorCounter.GetTrickColorsCounter();
            NextPlayer = firstPlayer;
        }
示例#2
0
 public Player(string name)
 {
     Name   = name;
     Points = 0;
     Tricks = new ColorCounter();
 }