public static bool MatchingSwap(Matchable first, Matchable second) { Swap(first, second); if (first.AnyMatch() || second.AnyMatch()) { Swap(first, second); return(true); } else { Swap(first, second); return(false); } }
public bool MatchingSwap() { Swap(); if (first.AnyMatch() || second.AnyMatch()) { Swap(); return(true); } else { Swap(); return(false); } }