ENIGMA 1565 — It’s a rollover

by Bob Walker

Joe’s puzzle was no rollover for Penny. Joe drew a mini-chess board on a card and made a dice with the letters E N I G M A in place of the numbers. Penny had to select a letter and then place the dice on the X with the selected letter on the top. The she moved the dice by rolling it (rotating it by 90°), from square to square to the corresponding lettered square on the right of the board, finishing with the selected letter on top. For each letter the number of moves had to be a minimum. What are the minimum number of moves of moves for each of the letters E N I G M and A?
       E
       N
       I
       G
       M
X      A