NOTE: Ignore the MinesweeperGame.class file, that's now how it's showing on my end so I'm not really sure what's going on there.
So I've checked everything at this point and my code seems to be correct. I accounted for the fact that the columns and the cells are swapped here:
for (int y = 0; y < SIDE; y++) {
for (int x = 0; x < SIDE; x++) {
GameObject currentCell = gameField[x][y];
so that shouldn't be the issue. I've performed several tests and it all looks correct. What am I missing?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;
}
}