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
unbroke botched cap on max agents
[progcomp10.git]
/
src
/
conf.py
diff --git
a/src/conf.py
b/src/conf.py
index
45942e2
..
0969b27
100644
(file)
--- a/
src/conf.py
+++ b/
src/conf.py
@@
-2,14
+2,14
@@
from rpsconst import *
from rpsconst import *
-# Enable for verbose output.
-VERBOSE =
Tru
e
+# Enable for verbose output.
(or use -v)
+VERBOSE =
Fals
e
# Enable for even more verbose output.
DEBUG = False
# How many iterations to run before quitting.
# Enable for even more verbose output.
DEBUG = False
# How many iterations to run before quitting.
-MAX_ITERATIONS = 1
5
+MAX_ITERATIONS = 1
000
# How many of each agent to create initially.
STARTING_POPULATION = 10
# How many of each agent to create initially.
STARTING_POPULATION = 10
@@
-29,7
+29,11
@@
DIE_HEALTH = 0
# The age at which to kill any agent.
MAX_AGE = 100
# The age at which to kill any agent.
MAX_AGE = 100
-# Game dynamics - these are not final:
+
+# Cap the number of agents:
+MAX_TOTAL_AGENTS = 255
+
+# Game dynamics:
# WINNER TRUTH ATTPoints, DEFPoints
pointsTable [Attacker] [False] = (3, -3)
pointsTable [Attacker] [True] = (2, -2)
# WINNER TRUTH ATTPoints, DEFPoints
pointsTable [Attacker] [False] = (3, -3)
pointsTable [Attacker] [True] = (2, -2)
UCC
git Repository :: git.ucc.asn.au