示例#1
0
        private int CountPoint(ShowGameViewItem player)
        {
            CardHelper cardHelper = new CardHelper();

            player.Points = player.Cards.Sum(card => cardHelper.GetCardPoint(card));

            return(player.Points);
        }