What are the rules of a match 3 game?
Swap two pieces that touch on a side so that three or more of the same kind line up. A swap only counts if it makes a match, and you must reach the level goal before your moves run out.
That is how match-3 games work in general: every match clears pieces, the rest fall down, and new pieces drop in from the top, which can set off more matches on their own. Candy Crush Saga, released in 2012, made levels with set goals and a limited number of moves the standard format.
In our game, only swaps that make a match use a move. Goals are a score, a number of one or two gem kinds to collect, ice to crack, or stone to break, and from level 30 some levels combine two goals. Four in a row makes a line gem, an L or T shape makes a bomb, and five in a row makes a prism. If the board has no possible swap, it shuffles itself for free. The how to play guide covers every special gem and combo.