15 puzzle solver: Difference between revisions

no edit summary
(Created page with "{{draft task|Games}} Your task is to write a programm that solves the Fifteen Puzzle Game in the fewest number of moves.<br /> For this task you will be using...")
 
No edit summary
Line 7:
13 8 5 2</pre>
<br />
Solution:<pre>
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 0</pre>
 
The output must show the moves' directions, like so: left, left, left, down, right... and so on.<br />
Show this output on this page.