When does a game end?

A match is completed in the following cases:
• When a player clears all the jellies of the certain game mode, then that player is declared the winner.
• Once the available playing time is up. In this case, the winner is the user with the least candies left on board.
• When a player resigns. In that case the winner is the opponent.
• When a player presses the button "DONE".

Any player can press the button "DONE", if there are no more moves or if the player believes that it is very ahead of his opponent in the score.
If your opponent presses the button "DONE", a timer and the following message appears on your screen: ‘You have 45 seconds left to play’. If you manage to outscore your opponent in this time interval, you are the winner, otherwise, you lose the game.