Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Knight's Tour Problem in Perl

by ggvaidya (Pilgrim)
on Dec 01, 2008 at 11:23 UTC ( [id://727065]=note: print w/replies, xml ) Need Help??


in reply to Knight's Tour Problem in Perl

Put it on CPAN ... then we can go back to the Slashdot article and say it's now a two-liner in Perl:

cpan -i Puzzle::KnightsTour perl -MPuzzle::KnightsTour -e 'Puzzle::KnightsTour::solve(SIZE, START_ +X, START_Y)'

(Yes, yes, I know; CPAN is for useful stuff. I'm being silly ... mostly)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://727065]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2025-06-15 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.