An Enigma machine simulator written in Javascript.
Try it at https://ewen.github.io/enigma-machine/
Enigma simulation is in the /lib
directory, the rest is for the UI.
For more information see the blog post https://www.mediasuite.co.nz/blog/the-simulation-game/