The joinGameWithEth
function does not check whether the joining player sends a non-zero ETH value.
Without this check, a player can join the game without contributing any ETH, effectively entering for free.
Currently, there is no validation to ensure that the player has paid, which breaks the expected behavior of ETH-based games.
Free entry: A player can join without paying
Manual review
Add a check to ensure msg.value > 0
before allowing a player to join.
Corrected code:
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.