Description :
This is a console based application the user will be prompted for move such as L-Left, R-Right, U-Up, D-Down, E-Exit.
The user has to arrange numbers in ascending order where the numbers in Grid are in random. The PlaceHolder is indicated by 0.ie whenever we do a move the position of 0 is swapped with digit specified by the move.
Adewale DarePosted Jun 16, 2014, 3:17 AM
thanks so much. plse help me with it by using arrow keys instead of letters
manish kapoorPosted Oct 28, 2013, 1:50 PM
thanks (Y)
Karthi SooryaPosted Aug 1, 2013, 5:58 AM
Great job!!
Ibrahim Imam muntakaPosted Sep 6, 2012, 7:55 PM
Thanks for the code of "MoveGridPuzzle". It was very great. But I will be grateful if you can modify it by counting the number of moves a player took to win the game. And if it is less than the previous player's moves, he will be asked to enter his name. Then the number of moves he took and his name will be printed as the new record holder.