Work towards C SDK (#11). Frenchie is still broken.
[progcomp10.git] / src / link / C / README
1 Welcome to the C SDK and link library.
2
3 == Compiling and testing the sample bots ==
4
5 Run "make" in this directory. To include them in the 
6
7 == Making your own agent ==
8 See wiki page.
9
10 = Testing your own agent =
11 Edit src/simulate.py.
12 Your agents live in link.C.c_agents
13 Add them to Agents to get them to do battle.
14
15 For example, this code imports c_angel, c_lucifer, c_streetfighter and
16 c_frenchie, as well as the python sample agents, and then battles c_lucifer, 
17 python Frenchie, c_streetfighter and c_angel. It goes at the top of simulate.py.
18
19 # Import and add your agents here:
20 from link.C.c_agents import c_angel, c_lucifer, c_streetfighter, c_frenchie
21
22 from SampleAgents import Angel, Lucifer, Dummy, Frenchie, Streetfighter
23 Agents = [c_lucifer, Frenchie, c_streetfighter, c_angel]
24

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