Ejemplo n.º 1
0
 public int CountNeighbouringMines(int x, int y)
 {
     return(_field.GetNeighbouringCells(x, y).Count(cell => cell.IsMine));
 }