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 : "4 3 1 8 2 1 8 4 3 8 4 3 8 5 6 7 1 2 3 8 5 6 7 4 6 5 8 6 5 8"
 * 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 : "3 2 7 3 2 1 8 7 3 2 1 8 7 3 2 1 5 4 8 7 6 8 7 5 4 7 8"
 * If the puzzle is like this at first :