Most of the production part was finished by previous, so this time the main report is that it was released on GitHub.
-Comment of the previous article also changed to the condition that "the dealer repeats the hit until it reaches 17 points or more".
BlackJack_main.java
//Dealer behavior
while(cardPoints_dealer<17) {
handCard_dealer.add(bills.get(0));
System.out.println("The card drawn by the dealer["+handCard_dealer.get(handCard_dealer.size()-1)+"]is");
cardPoints_dealer+=points.get(handCard_dealer.get(handCard_dealer.size()-1));
bills.remove(0);
System.out.println("The dealer's score is"+cardPoints_dealer+"Is a point");
JUDGE.judge(cardPoints,cardPoints_dealer);
if(JUDGE.result != "") {
System.out.println("BlackJack is over! Please play again ☆");
return;
}
} //while statement closing
Github The programming including the above update has been released on Github.
It took a little less than two weeks in total, but I would like to make a break because it is over for the time being.
In the future, [Qrunch](introduced in Technical blog service "Qrunch" that can be output more easily [Personal development] I will write articles at https://qrunch.net/).