The task fails the last three checks, but I'm unclear why the last two fail; I do call countMineNeighbors() at the end of createGame() and I use getNeighbors(...) in the countMineNeighbors() method.
I cannot figure out where I am counting neighboring mines for a cell that is also a mine.
if (!cell.isMine) {
on line 104 should be handling that.
package com.codegym.games.minesweeper;
public class GameObject {
public int x;
public int y;
public boolean isMine;
public int countMineNeighbors;
public GameObject(int x, int y, boolean isMine) {
this.x = x;
this.y = y;
this.isMine = isMine;
}
}