AOJ 2024 - Blackjack
考え方
普通に人間がディーラーをやるときのように書く。
手札と山札を作り、最初にblackjack判定を行う。
また、以下の条件を満たすときヒットし続ける。
Hits if the score of the hand is 16 or less.
Also hits if the score of the hand is 17 and one of aces is counted as 11.
普通に人間がディーラーをやるときのように書く。
手札と山札を作り、最初にblackjack判定を行う。
また、以下の条件を満たすときヒットし続ける。
Hits if the score of the hand is 16 or less.
Also hits if the score of the hand is 17 and one of aces is counted as 11.