Just wondering if you wrote the code for Blackjack in the game or did you pull this code from somewhere else?
Seems like the dealer in the game is pulling 20 75% of the time.
Even if it's RNG, still seems like it's heavily tilted against the player.
Get 16; Dealer has 20:
Get 17; Dealer has 20:
Fight for a 19; Dealer has 20:
Get a Blackjack; Dealer has 20:
Blackjack game gives the dealer 20 way too often compared to how infrequently the player gets 20 with two cards in comparison.
It's either programmed this way for the dealer to win more frequently intentionally or the Blackjack programming logic should be modified and balanced.