Open LeonCai1 opened 1 year ago
in isBlackJack() method, the code only checks for Aces and face cards. 10 and Ace should also be valid blackjack. I think the return statement should be: return (first.isAce() && second.value()==10)||(first.value()==10&& second.isAce());
in isBlackJack() method, the code only checks for Aces and face cards. 10 and Ace should also be valid blackjack. I think the return statement should be: return (first.isAce() && second.value()==10)||(first.value()==10&& second.isAce());