The GoodGhosting platform wants to encourage players to create the good habit of saving towards a personal goal. However, we understand that personal goals can change or emergencies can happen where you need immediate access to your funds!
Our smart contract allows players to exit the game and withdraw their funds at any time before the end of the game. In the user interface this is done by clicking on the "Withdraw Early" button.
However, when a player decides to withdraw early, the player automatically forfeits any earned rewards and pays an "early withdrawal fee" to the saving pool. This fee compensates the remaining players in the pool (for the loss in rewards). The fee is left into the saving pool, and is distributed between all winning players at the end of the game.
Note: If a player waits until the end of the game to withdraw, he doesn't have to pay any fee to withdraw.