Sample Run

Here is an example of playing the game (PlayJumble.java) with 8 as the number of letters and with 4 initial transformations. Because the words are generated randomly, your initial random word will likely be different when you play.  Note that the letters that appear close to their correct positions are colored yellow.

After starting the game and entering 8

After pressing OK and entering 4

After pressing OK

After selecting letter m

After selecting letter p (thus invoking swap(3,4))

After holding down Ctrl key while selecting letter e

Still holding down the Ctrl key while selecting letter o (thus invoking multipleSwap(1, 5))

After releasing Ctrl key, and then holding down the Shift key while selecting letter e

Still holding down the Shift key while selecting letter r (thus invoking insert(5, 7))

After releasing the Shift key and selecting r

After selecting e (thus invoking swap(6,7))

At this point the puzzle has been solved. After pressing OK the game ends.

Web Accessibility