Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I don't believe programs can handle as much randomness as you're suggesting...

Perhaps an alternative scheme;
  1. Predefined functions Munge() and MungeConsistently() will be available.
    • Munge calls MungeConsistently, but passes in the count of how many calls to Munge have already been made, so it is essentially random but still reproducible.
    • MungeConsistently takes a number as its first parameter, which will be used to pick the sub to call.
  2. Everybody is given a random number from 0..1, indicating their position in the program. (so that early code can do more input, and late code can do more output)
  3. PASS 1: Everybody then submits a small block of code that does something "useful", PLUS a small subroutine to be included in the Munges
  4. PASS 2: Each person is given the task of gluing together two adjacent pieces of code, NOT including their own. (One player is chosen to glue the command line to the first block by choosing the input parameters, so there are N glues for N players)
The second pass to glue things together should change the result from a twitching mass of random code to something that at least runs to completion. (I hope)

In reply to Re: [Fun] Exquisite Corpse in Perl? by SuicideJunkie
in thread [Fun] Exquisite Corpse in Perl? by blazar

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, 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, 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.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (6)
    As of 2019-09-19 17:01 GMT
    Find Nodes?
      Voting Booth?
      The room is dark, and your next move is ...

      Results (249 votes). Check out past polls.