On the Subject of .--/---/..-.

This contraption is like something out of a sketch comedy routine, which might be funny if it wasn’t genuine Morse code. I’ll keep this brief; as you might just learn something.

  1. Read the display and determine which label to read based on its position on the module.
  2. Using this button label, move to another word in the table according to the current stage number:
    1. Move one word to the right for each dot in the label,
      and one word down for each dash in the label.
    2. Move one word to the left for each dot in the label,
      and one word down for each dash in the label.
    3. Move one word to the left for each dot in the label,
      and one word up for each dash in the label.
    4. Move one word to the right for each dot in the label,
      and one word up for each dash in the label.
    If moving over an edge of the grid, move to the word at the opposite edge.
  3. Translate the new word into Morse code, ignoring gaps between letters.
  4. Push the buttons in the right order to match their labels with the code received. Not all buttons are required to be pushed.
How to Translate
COULD
SMALL
BELOW
LARGE
STUDY
FIRST
RIGHT
THINK
PLANT
SOUND
SIXTY
BROWN
VIRUS
BUSHY
FUNGI
OPTED
YOUNG
ICHOR
QUILL
WRONG
ZILCH
JERKY
BANJO
PUNCH
IVORY
COQUI
TOPAZ
JAUNT
NUDGE
MAJOR