Work towards C SDK (#11). Frenchie is still broken.
[progcomp10.git] / src / link / C / README
diff --git a/src/link/C/README b/src/link/C/README
new file mode 100644 (file)
index 0000000..7f0a970
--- /dev/null
@@ -0,0 +1,24 @@
+Welcome to the C SDK and link library.
+
+== Compiling and testing the sample bots ==
+
+Run "make" in this directory. To include them in the 
+
+== Making your own agent ==
+See wiki page.
+
+= 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_frenchie, as well as the python sample agents, and then battles c_lucifer, 
+python Frenchie, 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_frenchie
+
+from SampleAgents import Angel, Lucifer, Dummy, Frenchie, Streetfighter
+Agents = [c_lucifer, Frenchie, c_streetfighter, c_angel]
+

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