What is the contest?
A game called spoons(i posted the idea as a response in my original sugestion). The normal version works with 5 rows of 1,3,5,7,9 spoons, and each player takes as many spoons as he wishes from one row at a time. The loser is he who take the last spoon. 1st and 2nd players are chosen randomly. As this game is actually a forced win with only 5 rows, I now opt for n > 100 rows, with the number of spoons increasing in odd numbers (2n-1) per row. Each entry is really a subroutine, and the subroutine is passed 2 arrayrefs, 1 with n elements, with the number of spoons in a row such as an array of (1,0,0,1,3,5,2,3) if there are 8 rows, with index 0 being the top of the triangulars shaped game, and 7 being the bottom. the other arrayref has the elements (n,m) where n=number of spoons last taken by opponent, and m=from what row the opponent took the spoon. The subroutine returns an array containing how many spoons it took, and from what row. If the move was impossible, than the subroutine is disqualified(and to prevent slaves being disqualified to masters, all games with that subroutine are null and void). all moves must occur within less than 20 minutes.

How will entries be submitted?
They will be emailed to a specific email address, with a _start_ and an _end_ block around the script.

How will the entries be scored?
They will be played against eachother in a script that plays the subroutines against eachother some number of times (let's say 10? maybe another). The winning script at the end of each match, gets 1 point. The full winner wil have the most points, in the case of a tie, the tied scripts will play in a best 5 out of 9 play off.

<STRON


In reply to RE: Contest Ideas Quest by Rydor
in thread Contest Ideas Quest by vroom

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.