The EggHuntGame contract's startGame function lacks automatic game state management. Even after endTime is reached, gameActive remains true until the owner manually calls endGame(). This creates a confusing state where the game appears active but egg finding is blocked.
The game state management has a design flaw in the startGame function:
This creates inconsistent behavior across different functions:
searchForEgg() blocks egg finding after endTime
getGameStatus() returns "Game time elapsed"
But gameActive remains true
LOW severity as it doesn't affect token security or game fairness
Manual code review
Add automatic game state management
Incorrect values reported when a game is ended early
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.