Card counting program for Blackjack player
Objective : Victory of player when playing Blackjack
Assumption : The not-opened first card of dealer is 10. (cause the probability of 10 is the highest)
Player and dealer can use A as 1 or 11.
When all players stand, then dealer’s turn.
Dealer opens the not-opened card. If the sum of cards >= 17, stand. Or not, hit.
If sum of player’s card > 21, player defeats at once.
If player wins, player can get twice the betting amount.
If player wins as Blackjack, player can get 2.5 times the betting amount.