Like others, I am having trouble with the final condition.
I used a different method for the recursion, making a List that adds the coordinates of all neighbours that also need to be run through openTile(x,y).
Line 38 clearly makes those cells show nothing with "". I have also tried commenting out that line so they have no value and it still errors.
Please try this code, it works perfectly but fails the final condition
package com.codegym.games.minesweeper;
public class GameObject{
public int x;
public int y;
public boolean isMine;
public int countMineNeighbors;
public boolean isOpen;
public boolean isFlag;
public GameObject(int x, int y, boolean isMine){
this.x=x;
this.y=y;
this.isMine=isMine;
}
}