public LogicBoard()
 {
     cell = new LogicCell[8, 8];
     for (int i = 0; i < 8; i++)
     {
         for (int j = 0; j < 8; j++)
         {
             cell[i, j] = new LogicCell();
         }
     }
 }
Exemple #2
0
 private bool CanBeEaten(LogicCell checker, LogicCell nextCell)
 {
     return(checker.GetColor() != Color.empty && color != checker.GetColor() && nextCell.isEmpty());
 }
 public void DeleteCheckerFromBoard(int x, int y)
 {
     cell[x, y] = new LogicCell();
 }