In line 62, the initializeDeck function.
It must start by 0 and end to 51.
When the player starts the game, first, the initializeDeck function implements. Then the draw function performs twice to get 2 cards.
But the Indexes between initializeDeck and drawcard function are different.
So it will revert.
Contract will revert.
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.