Tap two same-colored buttons in a straight or diagonal line to cut them off. Cut them all off without leaving any singletons.

Advertisement