Gems change color every move. Wait for the right moment, then make matches of the same color next to them. Clear all gems to bring down the base.