private void playHand() { printBoundary(); var numOfPlayers = players.Count(); var cardPot = new ICard[numOfPlayers]; cardPot[0] = players[0].DrawCard(); for (var index = 1; index < numOfPlayers; index++) { cardPot[index] = players[index].DrawCard(); } var maxCard = cardPot.Where(x => x != null).Max(x => x); if (cardPot.Count(x => x == maxCard) > 1) { goToWar(maxCard, cardPot); } else { determineWinner(maxCard, cardPot); } printBoundary(); }