示例#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);
    }
示例#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);
 }