Destroy magnets by connecting 3 or more magnets of the same color. Magnets can be connected only when N touches S.