I was originally going to post the program makelegal which is a Tk GUI for creating the Legal.pm module.  But it would have taken too much space, which I was out of already after posting the two files above.  The makelegal program consists of several modules, Icons.pm, Legal.pm (the same one above) and Gui.pm, all of which are necessary for constructing the chessboard as a Tk app.  You can imagine that Icons.pm itself takes up a huge amount of space, as it contains the images for each piece!

I have to admit, I'm a little disappointed by both of these comments.  I thought more people would be interested in the program itself (I've been having fun trying it on different combinations of pieces, myself), but the feedback is more along the lines of "I'm not going to waste time trying your program, but let me point out how you should have done it instead!"

So if you or anyone wants the code for the Tk part of it, just message me, and I'll email it, or send a link or something.  You'll understand, I trust, why I don't post it for more people to criticize.


@ARGV=split//,"/:L"; map{print substr crypt($_,ord pop),2,3}qw"PerlyouC READPIPE provides"

In reply to Re^2: "Attack" -- Find Solutions for N Non-Attacking Chess Pieces by liverpole
in thread "Attack" -- Find Solutions for N Non-Attacking Chess Pieces by liverpole

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.