![](https://cdn.nodeguardians.io/backend-production/solidity_bg_fc76a87eed/solidity_bg_fc76a87eed.webp)
Standalone
Unexpected Ether
![](https://cdn.nodeguardians.io/backend-production/Playing_Cards_1200px_f111dd02f7/Playing_Cards_1200px_f111dd02f7.webp)
Part II
Restore the Game
Help the bar fix the game, such that cheating is not possible.
Your Task
Modify contracts/SimpleGameV2.sol
such that the contract will be unaffected by unexpected ether.
Note:
You should only make changes to
contracts/SimpleGameV2.sol
.You should not be removing any
require
statements.
Run tests in Questplay
Submit work in Questplay
![](https://cdn.nodeguardians.io/backend-production/Playing_Cards_1200px_f111dd02f7/Playing_Cards_1200px_f111dd02f7.webp)
Having successfully broken the game, the two troublemakers storm off. But now you must fix it again for the regular customers.