Dedicated server stuff should now work
[progcomp2013.git] / web / agent.html
1
2 <html>
3
4 <head>
5 <title> UCC::Progcomp 2013 - Writing an Agent </title>
6 </head>
7
8 <body bgcolor=white>
9
10
11 <h1> What API do I use? </h1>
12
13 <p> If you are using python, you should use the <a href="agent_python.html"/>python API</a>. But you don't have to. </p>
14
15 <p> If you are <b>not</b> using python , your agent will have to implement the <a href="agent_text.html"/>text based API</a>. Or you can build on the samples that already do that.</a> </p>
16
17 <hr>
18
19 <h2> Languages that have Samples </h3>
20
21 <p> I recommend you download the <a href="http://git.ucc.asn.au/?p=progcomp2013.git"/>git repository</a>, but if you <i>really</i> want you can click on the links. </p>
22 <ul>
23         <li> <a href="../agents/python"/>python</a> </li>
24         <li> <a href="../agents/c++"/>C++</a> </li>
25         <li> <a href="../agents/java"/>java</a> </li>
26 </ul>
27
28 <p> If you want to use a language that isn't listed, ask me nicely and I might make a sample for you. </p>
29
30 <hr>
31
32 <h2> I've read that, but don't know where to start </h2>
33
34 <ol>
35         <li> Pick a language. Python is recommended for beginners. </li>
36         <li> Look at the sample agents. Here is the <a href="../agents/python"/>sample python agent</a> </li>
37         <li> Copy sample and rewrite amazingly awesome quantum chess algorithm of supreme domination </li>
38         <li> Profit </li>
39 </ol>
40 <hr>
41
42 <h2> That was too long; I didn't read it </h2>
43
44 <p> Read the <a href="../agents/c++"/>sample python agent</a> instead. </p>
45
46 <hr>
47
48 <h2> Policy on Threading and Forking </h2>
49
50 <p> <b> Don't do it. It is not allowed. Use a single thread like a real man/woman/robot. </b> </p>
51
52 <hr> 
53 <h2> This API seems terrible and I want to use threads</h2>
54
55 <p> Too bad. Write your own competition. </p>
56
57 <hr>
58
59 <p> Page last updated 2013-03-01 by matches </p>
60
61 <p> <a href="http://www.ucc.asn.au">The UCC Website</a> </p>
62 <p> <a href="http://progcomp.ucc.asn.au/2013/web">UCC::Progcomp 2013</a> </p>
63
64 </body>
65
66 </html>

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