I don't understand why countMineNeighbors method doesn't count mined neighbors for every non mined cell in the gameField matrix??
package com.codegym.games.minesweeper;
import java.util.List;
public class GameObject {
public int x;
public int y;
public boolean isMine;
public int countMineNeighbors;
GameObject(int x, int y, boolean isMine){
this.x = x;
this.y = y;
this.isMine = isMine;
}
}