public Hand TakeOneHand() { var hand = new Hand(); for (var i = 0; i < 5; i++) hand.TakeCard(_cards.Pop()); return hand; }
private static bool CheckIfHandHoldFourAces(Hand currentHand) { foreach (var suite in currentHand.Cards().GroupBy(x => x.Suit)) { if (suite.Count(x => x.Value > 9) == 5) return true; } return false; //return currentHand.Cards().Count(x => x.Name == CardNames.Ace) == 4; }