Work towards C SDK (#11). Frenchie is still broken.
[progcomp10.git] / src / link / C / c_link.c
index 680450e..40eee24 100644 (file)
@@ -56,6 +56,11 @@ int main( int argc, char * argv[] ) {
        ATTACKTYPE attack;
        ITEMTYPE defence;
        
+    /* generate a random id for this bot. Hopefully it's unique
+       I can't use the UUID, because python doesn't pass it to me! */
+    me = rand();
+    
+    
        scanf( "%s", command );
        
        while (strcasecmp("BYE",command) != 0) {

UCC git Repository :: git.ucc.asn.au