private void printBoard() {
        int count = 0;
        System.out.println("CAMPO RESULTANTE: ");
        for (int i = 0; i < board.length; i++) {
            System.out.print("(");
            for (int j = 0; j < board[i].length; j++) {
                if (board[i][j].hasMine()) count++;
                System.out.print(" " + board[i][j].toString() + " ");
            }
            System.out.println(")");
        }
        System.out.println("Numero de minas = " + count);
    }