Stephen,
I participated in the ACPC a couple years ago. I wrote TerribleTerrance and SpewyLouie.
I would be willing to send you the Java code I used to communicate with the ACPC server. The code boils down to:
-1- Open a socket to the proper IP/port
-2- Read in Message like "MATCHSTATE:0:30:cc/:9s8h|/8c8d5c"
-3- Parse the above message to obtain the state information your bot needs to act
-4- Give the state information to your bot
-5- Wait for your bot to supply a decision/action
-6- Encode the action into a String the ACPC server expects
-7- Send your "action message" to the ACPC server over the socket.
I'll need a couple days to dig the code up, but I promise I'll send it to you. Expect a message sometime towards the end of the Holiday weekend (MLK day).
Good luck,
Jon Parker