private static bool AllBombsMarked(FieldWithNeighbourhood field)
 {
     return(field.RemainingMines == 0);
 }
 private static IEnumerable <Field> HiddenNeighbours(FieldWithNeighbourhood f) => f.Neighbours.Where(x => !x.IsRevealed);
 private static bool HasHiddenNeighbours(FieldWithNeighbourhood f) => f.Neighbours.Any(x => !x.IsRevealed);
 private static bool AllNeighboursLeftAreMines(FieldWithNeighbourhood f) => f.Neighbours.Count(x => !x.IsRevealed) == f.RemainingMines;