Ejemplo n.º 1
0
        public void OutputResults()
        {
            Deck _deck = new Deck();

            _deck.ConstructDeck();
            _deck.DealCards();

            foreach (ICard card in _deck.Player.Hand)
            {
                Console.WriteLine(card.Suit + card.Sign);
            }

            _deck.ChangeCards();

            foreach (ICard card in _deck.Player.Hand)
            {
                Console.WriteLine(card.Suit + card.Sign);
            }

            int result = _scoreCalculations.AssignScore((Scorer.Combination)_scorer.HandValue(_scorer.CheckHand(_deck), _deck));

            Console.WriteLine("your score:" + result);
        }