static void revertMove(String cmd, int specialPiece) throws IOException {
        int v[][] = Board.translatePosition(cmd.charAt(0) + "" + cmd.charAt(1) + "" + cmd.charAt(2) + "" + cmd.charAt(3));
        Board.board[v[0][0]][v[0][1]] = Board.board[v[1][0]][v[1][1]];
        Board.board[v[1][0]][v[1][1]] = specialPiece;

        /* Verificam daca mutarea precedenta a transformat un pion in regina si schimbam totul cum trebuie */
        if (cmd.equals(specialMove)) {
            if (Board.isBlackPiece(v[0][0], v[0][1])) {
                Board.board[v[0][0]][v[0][1]] = 'p';
            }
            if (Board.isWhitePiece(v[0][0], v[0][1])) {
                Board.board[v[0][0]][v[0][1]] = 'P';
            }
        }

        for (int i = 0; i < 12; i++) {
            for (int j = 0; j < 12; j++) {
                Logger.writeNNL((char) Board.board[i][j] + " ");
            }
            Logger.newLine();
        }
    }