public static int doSevenLoop(Deck deck,
	                              PlayerHuman playerHuman,
	                              PlayerCPU playerCPU,
	                              int plCount) {
		Card card;
		int n = 2; // number of cards will be pulled
		int cp; // current player

		while (true) {
			cp = plCount % 2;
			if (cp == 0)
				card = playerCPU.chooseSeven();
			else
				card = playerHuman.chooseSeven();

			if (card == null) {
				break;
			} else {
				deck.setDowncard(card);
				n += 2;
			}
			plCount++;
		}
		cp = (plCount + 1) % 2;

		if (cp == 0) {
			System.out.printf("CPU played a 7. You pull %d cards.%n", n);
		} else {
			System.out.print("\nYou played a 7. ");
			System.out.printf("CPU will pull %d cards.%n", n);
		}

		for (int i = 0; i < n; i++) {
			if (cp == 0)
				playerHuman.cards.add(deck.dealOneCard(
				                playerHuman, playerCPU));
			else
				playerCPU.cards.add(deck.dealOneCard(
				                playerHuman, playerCPU));
		}

		return n;
	}