Rules:
1. Press the Shuffle Button to
arrange the numbers in random order.
2. Press any number to slide that
number to the blank slot next to it.
3. The fun is to arrange the numbers
back in Sequential Order.
Of Course the grading
depends upon the number of clicks you finish
the game in. Less
the number of clicks , Better is your performance.
4. All the Best and Have FUN.
Here is the Source
Code for free.