回答編集履歴

1

バグ修正

2022/07/27 13:30

投稿

jimbe
jimbe

スコア12646

test CHANGED
@@ -36,7 +36,7 @@
36
36
  System.out.println("引き分け");
37
37
  } else if(playerScore == 21) {
38
38
  System.out.println("ブラックジャック!あなたの勝ち");
39
- } else if(playerScore > 21) {
39
+ } else if(playerScore == 0) {
40
40
  System.out.println("バースト!あなたの負け");
41
41
  } else if(playerScore > dealerScore) {
42
42
  System.out.println("あなたの勝ち");