When endGame() is called, gameActive is set to false, but endTime remains unchanged.
Even if the game is ended early, endTime might still indicate that the game is running.
Functions relying on endTime might produce incorrect results.
Users might get confused about the game state.
UI and external systems may not correctly detect game status.
Manual review.
Modify endGame() to update endTime:
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.