예제 #1
0
파일: Game.cs 프로젝트: alatte/Blackjack
 private void GetPersonCards(Person person)
 {
     string[,] cardsArray = new string[person.Hand.Cards.Count, 2];
     for (int i = 0; i < person.Hand.Cards.Count; i++)
     {
         cardsArray[i, 0] = (person.Hand.Cards[i].Value).ToString();
         cardsArray[i, 1] = (person.Hand.Cards[i].Suit).ToString();
     }
     Output.CardsInHand(person.Name, cardsArray);
     Output.PointsInHand(person.Name, person.Hand.CheckSum());
 }