Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
To answer both your's (ase) and perlmonkey's question, I plan on sending up my GO server code by the end of this week -- once I clean it up. It will also include a very simple sample client (one that connects and then plays by sending random moves).

I should warn grackle that right now the GO server is not setup in a chat room like connection style. (However I would like to extend it to do so, I just haven't had the time or pressing need to modify it that way). Instead you just run the server on a particular port, or named-socket (which is faster throughput, but only works on a local connection), and then two clients can connect and play one another.

Anyway, I should be able to clean up the code soon enough, which includes some rudementary documentation on how to use the code, and what the general intent and direction is.

Thanks everyone for your vibrant support so far :) helps the moral over here ;) (right now my AI I'm working on barely beats my random number generator :P hehe)

Ciao,
Gryn


In reply to Code for GO server by gryng
in thread AI and GO by gryng

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, 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?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    [james28909]: check is is data or hash or array and do tasks then return needed data
    [Lady_Aleena]: james28909, you might want to look at the other two on my scratchpad.
    [james28909]: after you send to a sub, you can check if it is array or ref ect with ref
    [james28909]: check if it is a hash or an array ect with ref in one sub.
    [james28909]: like all the subs calling get_data get_array get_ect, you could just use get_data. once you send the data to get_data, check if it is a hash or an array ect. and do functions for each, in one sub
    [james28909]: that looks like it would be alot more work than just renaming the sub though lol
    [Lady_Aleena]: james28909, did you even look at the subs?

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (9)
    As of 2017-05-24 04:54 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?