Lack of Mechanism for Handling Abandoned Games
Summary:
No function allows players to recover funds if both abandon the game without revealing moves.
Vulnerability Details:
No emergency escape or refund exists if both players timeout.
Code Snippet:
Tools Used:
Solidity
VS Code
Recommendations:
Add an abandonGame() function after double timeout expiry to allow safe fund recovery.
The player who fails to reveal their move within the deadline forfeits the game to the opponent who did reveal
The player who fails to reveal their move within the deadline forfeits the game to the opponent who did reveal
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.