Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Knight's Tour Problem in Perl

by ggvaidya (Pilgrim)
on Dec 01, 2008 at 11:23 UTC ( #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
Node Status?
node history
Node Type: note [id://727065]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2019-05-26 15:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (153 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!