15 puzzle solver: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 14:
</pre>
The output must show the moves' directions, like so: left, left, left, down, right... and so on.<br />
There are 2 solutions with 52 moves: <br />
rrrulddluuuldrurdddrullulurrrddldluurddlulurruldrdrd<br />
rrruldluuldrurdddluulurrrdlddruldluurddlulurruldrrdd<br />
finding either one, or both is an acceptable result.<br />
 
;Extra credit.
Solve the following problems: