make line horizontal, vertical or diagonal and make a match of three or more of the same color, eliminating those candies from the board and replacing them with new ones.