15 puzzle solver: Difference between revisions

Content added Content deleted
(Marked C# incorrect)
Line 2,657: Line 2,657:


=={{header|C sharp|C#}}==
=={{header|C sharp|C#}}==
{{incorrect|C#|The task presents a board which a solution must solve in 52 moves, there are no starting positions requiring 164 moves to solve. The required output is specified: "The output must show the moves' directions, like so: left, left, left, down, right... and so on.
{{incorrect|C sharp|The task presents a board which a solution must solve in 52 moves, there are no starting positions requiring 164 moves to solve. The required output is specified: "The output must show the moves' directions, like so: left, left, left, down, right... and so on.
There are two solutions, of fifty-two moves:
There are two solutions, of fifty-two moves:
rrrulddluuuldrurdddrullulurrrddldluurddlulurruldrdrd
rrrulddluuuldrurdddrullulurrrddldluurddlulurruldrdrd