TwentyOne::playersHand function disregards that Aces can be counted as 1 or 11.
According to blackjack rules, aces count 1 or 11 according to the player's coice. playersHand
function below does not handle the dual value of Ace that can be either 1 or 11.
This means:
Aces are always counted as 1 (missing the optional 11 value)
There's no proper handling of the Ace's dual value which is a crucial part of Blackjack strategy
Game logic is broken
Manual review
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.