Example #1
0
 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();
         }
     }
 }
Example #2
0
 private bool CanBeEaten(LogicCell checker, LogicCell nextCell)
 {
     return(checker.GetColor() != Color.empty && color != checker.GetColor() && nextCell.isEmpty());
 }
Example #3
0
 public void DeleteCheckerFromBoard(int x, int y)
 {
     cell[x, y] = new LogicCell();
 }