diff --git a/src/core/lib/Bombe.mjs b/src/core/lib/Bombe.mjs index 4ae0ff7f..81581d67 100644 --- a/src/core/lib/Bombe.mjs +++ b/src/core/lib/Bombe.mjs @@ -693,7 +693,7 @@ export class BombeMachine { * Having set up the Bombe, do the actual attack run. This tries every possible rotor setting * and attempts to logically invalidate them. If it can't, it's added to the list of candidate * solutions. - * @returns {string[][2]} - list of pairs of candidate rotor setting, and calculated stecker pair + * @returns {string[][3]} - list of 3-tuples of candidate rotor setting, plugboard settings, and decryption preview */ run() { let stops = 0; diff --git a/src/core/operations/Bombe.mjs b/src/core/operations/Bombe.mjs index 292017e8..3c29cd8c 100644 --- a/src/core/operations/Bombe.mjs +++ b/src/core/operations/Bombe.mjs @@ -35,19 +35,19 @@ class Bombe extends Operation { defaultIndex: 2 }, { - name: "2nd rotor", + name: "2nd (middle) rotor", type: "editableOption", value: ROTORS, defaultIndex: 1 }, { - name: "3rd rotor", + name: "3rd (left-hand) rotor", type: "editableOption", value: ROTORS, defaultIndex: 0 }, { - name: "4th rotor", + name: "4th (left-most, only some models) rotor", type: "editableOption", value: ROTORS_OPTIONAL, defaultIndex: 10