Spiral the words Gamer says around in a 3 by 3 board like this:
G A M Y E A S ROn each turn, you may slide one letter horizontally or vertically into the blank space (the square it moved from becomes the new empty square).
You want to rearrange the letters so that the same word is spelled out around the edge, but beginning from one of the edges instead of the corner.
In other words, the board should look like one of these configurations:
Y G A S A Y E R S A M E A M R G M A G R S R E E M A A G Y Y A SWhat is the fewest number of turns it takes to do this?