Click on two pieces to swap them. Swaps must create a matching set of three-in-a-row horizontally or vertically. Those pieces will be removed and new pieces will drop down to replace them. The game may end either by the time running out or no more possible matches.