Bombe: wording/docs tweaks

This commit is contained in:
s2224834 2019-01-11 18:24:16 +00:00
parent 21335e7d05
commit d94e8c8187
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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