In function dealresHand is mising a check for cardValue ==0.
When cardValue is being calculated we might get 13 % 13 from
which will set the value to 0 and whitout the check 0 will be added to dealerTotal.
Whitout the check the dealer will have less point in total than he shoud.
Manuel review.
I recommend to include another check next to cardValue>=10, so if you recive 0 it will add 10 points to dealerTotal.
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.