Beispiel #1
0
    private void RemoveByChainOnRightSurroundedStrategy(int x, int y, StoneColor oppositeColor)
    {
        RemovableDetector detector = new ChainRemovableDetector();
        List<Tuple<int, int>> results = detector.Detect(_args);

        RemoveAllItemsInList(results);
    }
Beispiel #2
0
 private void RemoveByChainSurroundedStrategy()
 {
     RemovableDetector detector = new ChainRemovableDetector();
     List<Tuple<int, int>> results = detector.Detect(_args);
     if (results.Count>3)
     {
         Debugger.Break();
     }
     RemoveAllItemsInList(results);
 }