Mini games are special quests that sometimes appear on the Play button (it usually leads to match 3 levels).

If you fail to complete a mini game, tap the Try again button—the number of attempts is unlimited. If you don't want to play a mini game, tap the Skip button.

Skipping the mini game won't affect your progress, but you can get a reward for winning it.