The second require on the ´Game:claimThrone´ requires the caller to be the current king, the logic should be inverted, so that a new player can try to claim the throne.
Likelihood:
When a player calls the claim function this require is going to require that sender to be the current king.
This variable intializes in address zero, meaning that there is not a way to play this game.
Impact:
Game becomes unplayable.
Testing with multiple addresses we can see that none of them passes, meaning, the game is unplayable.
Update the logic to check if the ´msg.sender´ is different tha the currentKing.
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.