private void passCards() {
        while ((pack.getCardAmount() > 0)&&(currentPlayer.getAmountOfCards() < opponentPlayer.getAmountOfCards())) {
            currentPlayer.receiveCard(pack.getNextCard());
        }

        while ((pack.getCardAmount() > 0) && (currentPlayer.getAmountOfCards() < CARDS_FOR_EACH)) {
            currentPlayer.receiveCard(pack.getNextCard());
            opponentPlayer.receiveCard(pack.getNextCard());
        }
    }