Skip to content

I don't know how to request changes so here goes. Basically, there is a line of code that changes one of the rotors when you type #11

@jso8910

Description

@jso8910

Ok, here it is:

    if (currentNo == inputNo) {
      println(inputNo, rotor1.position, rotor2.position, rotor3.position);
    }
    // This line below
    moveRotors();

    return letterOrderLowerCase.charAt(currentNo);
  }

This is line 57 in the Enigma class. For anyone wondering, the solution is to remove it (though I recommend commenting it out), but I would appreciate if someone removed it from the master branch. Anyways, that is the issue with the solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions