Your goal is to move the various candies around so that at least three of the same candies are next to each other, either vertically or horizontally.
You can only move a candy one space at a time (i.e. swapping places with a candy directly adjacent). To do this, you can drag a candy into the direction you want it to move. If you don’t want to drag, you can also click or tap the candy you want to move, then click or tap the candy you want to swap with.
Special matches, like matching a candy inside its wrapper, will earn you more moves. Keep matching candies until you run out of moves.