Wily Tiles

Wily Tiles is Orbulon's boss microgame in WarioWare: D.I.Y..

Gameplay
The point of this game is to align the numbers 1 through 8 in order on a 9 square grid. To do this, the player must use the stylus to slide a number in the one open square on the board. The player will need to fill in the top row with the numbers 1, 2, and 3, the middle row with the numbers 4, 5, and 6 and the bottom row with the numbers 7 and 8. The tiles have to be aligned from left to right. The game takes some patience and planning. If the player manages to align the tiles before time runs up, the game is won. However, if time runs out and the player hasn't achieved this, the game ends in a loss.

Solutions
7 2 8 6 3 1 5 8 the player may touch successively the following digits in order to win :  431821843843856712385674658658
 * If the puzzle is like this at first :

7 2 8 3 1 5 4 6  the player may touch successively the following digits in order to win :  327321873218732154876875478
 * If the puzzle is like this at first :