Jump to content

15 puzzle solver: Difference between revisions

m
→‎simpler, better: added personal tag
(Ada version)
m (→‎simpler, better: added personal tag)
Line 6,015:
-- (clearly optimal by exhaustively disproving all lesser n)
 
<!--<lang Phix>(phixonline)-->
<span style="color: #000080;font-style:italic;">-- demo/rosetta/Solve15puzzle_simple.exw</span>
<span style="color: #008080;">enum</span> <span style="color: #000000;">left<span style="color: #0000FF;">,</span> <span style="color: #000000;">down<span style="color: #0000FF;">,</span> <span style="color: #000000;">up<span style="color: #0000FF;">,</span> <span style="color: #000000;">right</span> <span style="color: #000080;font-style:italic;">-- (nb 5-move flips it, as in down===5-up, etc)</span>
7,806

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.