git.ucc.asn.au
/
progcomp10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'c-agents'
[progcomp10.git]
/
src
/
link
/
C
/
c_agents.py
diff --git
a/src/link/C/c_agents.py
b/src/link/C/c_agents.py
index
ae64410
..
ed461b5
100644
(file)
--- a/
src/link/C/c_agents.py
+++ b/
src/link/C/c_agents.py
@@
-1,20
+1,20
@@
# add your agents to this file by copying the definition and adjusting
# add your agents to this file by copying the definition and adjusting
-# you then need to m
odify simulate.py
+# you then need to m
ake sure there's an arena that imports your agent
-from link.
externAgent import extern
Agent
+from link.
cAgent import c
Agent
-class c_angel (
extern
Agent):
+class c_angel (
c
Agent):
def __init__ (self):
def __init__ (self):
-
extern
Agent.__init__(self, "./link/C/agents/c_angel")
+
c
Agent.__init__(self, "./link/C/agents/c_angel")
-class c_lucifer (
extern
Agent):
+class c_lucifer (
c
Agent):
def __init__ (self):
def __init__ (self):
-
extern
Agent.__init__(self, "./link/C/agents/c_lucifer")
+
c
Agent.__init__(self, "./link/C/agents/c_lucifer")
-class c_streetfighter (
extern
Agent):
+class c_streetfighter (
c
Agent):
def __init__ (self):
def __init__ (self):
-
extern
Agent.__init__(self, "./link/C/agents/c_streetfighter")
+
c
Agent.__init__(self, "./link/C/agents/c_streetfighter")
-class c_
frenchie (extern
Agent):
+class c_
wash (c
Agent):
def __init__ (self):
def __init__ (self):
-
externAgent.__init__(self, "./link/C/agents/c_frenchie
")
+
cAgent.__init__(self, "./link/C/agents/c_wash
")
UCC
git Repository :: git.ucc.asn.au