Because this contract does not have a representation of the game state, functions in the contract can be called freely whether the game has ended or has not started.
For example, these two functions
You can view the players' and the dealer's hands at any time
For example, in this function.
If this function is called before the game starts to add cards to the player's hand, it would allow the player to add cards multiple times.
Functions in the contract can be called whether the game has started or already ended, which would lead to players being unable to determine the game progress.
manual inspection
Add an enum type to track the game state.
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.