Solve a Holy Knight's tour: Difference between revisions
→{{header|Raku}}: Fix up internal links
Thundergnat (talk | contribs) (Rename Perl 6 -> Raku, alphabetize, minor clean-up) |
Thundergnat (talk | contribs) (→{{header|Raku}}: Fix up internal links) |
||
Line 3,542:
=={{header|Raku}}==
(formerly Perl 6)
This uses a Warnsdorff solver, which cuts down the number of tries by more than a factor of six over the brute force approach. This same solver is used in:
* [[Solve a Hidato puzzle#
* [[Solve a Hopido puzzle#
* [[Solve a Holy Knight's tour#
* [[Solve a Numbrix puzzle#
* [[Solve the no connection puzzle#
<lang perl6>my @adjacent =
|