private void increaseAdjacentSquareValue(int i, int j, Square[][] mineField) {
        if (i < 0 || i > mineField.length - 1) return;
        if (j < 0 || j > mineField[i].length - 1) return;
        if (mineField[i][j].hasMine()) return;

        mineField[i][j].setAdjacentMines(mineField[i][j].getAdjacentMines() + 1);
    }