Bombe: tweaks

Twiddle the default rotor sets a bit.
Add a time remaining estimate for the multibombe.
This commit is contained in:
s2224834 2019-01-12 01:35:24 +00:00
parent 49f5c94a75
commit 74eb4cca86
4 changed files with 21 additions and 15 deletions

View file

@ -8,7 +8,7 @@
import Operation from "../Operation";
import OperationError from "../errors/OperationError";
import {ROTORS, LETTERS, ROTORS_OPTIONAL, REFLECTORS, Rotor, Reflector, Plugboard, EnigmaMachine} from "../lib/Enigma";
import {ROTORS, LETTERS, ROTORS_FOURTH, REFLECTORS, Rotor, Reflector, Plugboard, EnigmaMachine} from "../lib/Enigma";
/**
* Enigma operation
@ -79,8 +79,8 @@ class Enigma extends Operation {
{
name: "4th (left-most, only some models) rotor",
type: "editableOption",
value: ROTORS_OPTIONAL,
defaultIndex: 10
value: ROTORS_FOURTH,
defaultIndex: 0
},
{
name: "4th rotor ring setting",