private void RemoveByChainOnRightSurroundedStrategy(int x, int y, StoneColor oppositeColor) { RemovableDetector detector = new ChainRemovableDetector(); List<Tuple<int, int>> results = detector.Detect(_args); RemoveAllItemsInList(results); }
private void RemoveByChainSurroundedStrategy() { RemovableDetector detector = new ChainRemovableDetector(); List<Tuple<int, int>> results = detector.Detect(_args); if (results.Count>3) { Debugger.Break(); } RemoveAllItemsInList(results); }