Timeline for Enigma Machine Simulation in Python
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 1, 2016 at 2:03 | vote | accept | rookie | ||
Aug 25, 2016 at 16:18 | history | edited | Graipher | CC BY-SA 3.0 |
added 522 characters in body
|
Aug 25, 2016 at 16:12 | comment | added | Graipher |
@rookie I can't think of a way that is not too complex. Just put it into its own method, Machine.rotate_reflector(self, contact_index) .
|
|
Aug 25, 2016 at 6:21 | comment | added | Graipher |
@rookie Regarding the further simplification, I'll think about it some more. But I would let the function be a method of Machine , this way if you ever want to rotate all rotors(/reflectors) there is a method for that that is not hidden within another method.
|
|
Aug 25, 2016 at 6:19 | history | edited | Graipher | CC BY-SA 3.0 |
deleted 10 characters in body
|
S Aug 25, 2016 at 3:27 | history | suggested | Oscar Smith | CC BY-SA 3.0 |
grammar edits
|
Aug 25, 2016 at 2:23 | review | Suggested edits | |||
S Aug 25, 2016 at 3:27 | |||||
Aug 24, 2016 at 14:16 | comment | added | rookie |
Thanks! Can you say more about how you mean to put the code for the reflector in rotate_rotors ? I was thinking about making this function an inner function to encipher_character . What do you think about that?
|
|
Aug 24, 2016 at 7:03 | history | edited | Graipher | CC BY-SA 3.0 |
added 15 characters in body
|
Aug 24, 2016 at 6:57 | history | edited | Graipher | CC BY-SA 3.0 |
added 642 characters in body
|
Aug 24, 2016 at 6:50 | history | edited | Graipher | CC BY-SA 3.0 |
added 642 characters in body
|
Aug 24, 2016 at 6:43 | history | answered | Graipher | CC BY-SA 3.0 |