missing returns on function `searchForEgg` can mislead other contracts not knowing if the minting of the egg was successful or not
Assuming the game is active normally and on time and the user calls this function it's not much clear if the user found an egg or not, since the function doesn't return anything if an egg was found or not. by returning true or false it would help greatly other contracts interacting with it.
https://github.com/CodeHawks-Contests/2025-04-eggstravaganza/blob/main/src/EggHuntGame.sol#L63-L81
not retuning true or false can lead to confusion wether it was minted or not when other contracts are interacting with this function
manual
return true if minted and false if not minted an egg.
Insecure methods to generate pseudo-random numbers
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.