In the scenario of the player and dealer having the same cardValue(a tie), the else statement will catch this condition and assume the player to have lost the game and the dealer's hand is higher. Which in actual fact is incorrect.
In the scenario of the player and dealer having the same cardValue(a tie), the else statement will catch this condition and determine the player of have lost the game and the dealer's hand is higher. Which in actual fact is incorrect.
This causes unfairness to players and reduces the integrity of the protocol.
Implement another logic check to handle the scenario of dealer and player having same cardValue
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.