I think the point is to make the slider puzzle and to actually do the moves so that you know the puzzle that you present is solvable. It would be easier to (a) not do recursion (b) keep track of the...
Type: Posts; User: tabstop
I think the point is to make the slider puzzle and to actually do the moves so that you know the puzzle that you present is solvable. It would be easier to (a) not do recursion (b) keep track of the...
Did you ever fix this?
gameBoard[x][y] = gameBoard[x][y]-1;