1 '''cAgent.py - a bot shell for talking to C bots.
2 Written by Daniel Axtens <
[email protected]> for the UCC Programming Competition in 2010.
4 This is a separate class to externAgent so that changes can be made
5 without requiring C agents to have their wrapper scripts rewritten.
7 Licensed under an MIT-style license: see the LICENSE file for details.
10 from link.externAgent import externAgent
12 class cAgent (externAgent):
13 """A class for handling agents in C.
14 A subclass of externAgent so that changes can be made to how all external
15 agents are handled, or how all C agents are handled, without requiring C
16 agents to have their wrapper scripts rewritten. Use this in preference to
17 externAgent for C agents."""