X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Flink%2FC%2FREADME;fp=src%2Flink%2FC%2FREADME;h=0000000000000000000000000000000000000000;hb=041f195b018bb74676017dd0a09f8a079611ba4b;hp=ad894a71edbca7e334ca38e510b8e190cbd488c3;hpb=699697dcaa730ccc26cd570cbf8975e2591344c0;p=progcomp10.git diff --git a/src/link/C/README b/src/link/C/README deleted file mode 100644 index ad894a7..0000000 --- a/src/link/C/README +++ /dev/null @@ -1,29 +0,0 @@ -Welcome to the C SDK and link library. - -If you want to enter in C, you've come to the right place. - -== Compiling and testing the sample bots == - -Run "make" in this directory. To include them in the - -== Making your own agent == -See wiki page. - -Also, use the link/bundle-agent.sh shell script - it will take your agent file -and make a python module that you can include. - -= Testing your own agent = -Edit src/simulate.py. -Your agents live in link.C.c_agents -Add them to Agents to get them to do battle. - -For example, this code imports c_angel, c_lucifer, c_streetfighter and -c_wash, as well as the python sample agents, and then battles c_lucifer, -python Wash, c_streetfighter and c_angel. It goes at the top of simulate.py. - -# Import and add your agents here: -from link.C.c_agents import c_angel, c_lucifer, c_streetfighter, c_wash - -from SampleAgents import Angel, Lucifer, Dummy, Wash, Streetfighter -Agents = [c_lucifer, Wash, c_streetfighter, c_angel] -