Move the balls to empty spaces to create a horizontal, vertical or diagonal line of 5 or more balls of the same color.