X-Git-Url: https://git.ucc.asn.au/?p=progcomp10.git;a=blobdiff_plain;f=src%2Fconf.py;fp=src%2Fconf.py;h=0969b271393fc4b1f9daf472f4677d15b279f8db;hp=45942e24610c8a32cc2761b3bf301a322124df01;hb=a59c6f151767664b372bd5ceba09baf7398f179f;hpb=a7d23732cff708e83e96df01795d0f96c3f72a3b diff --git a/src/conf.py b/src/conf.py index 45942e2..0969b27 100644 --- a/src/conf.py +++ b/src/conf.py @@ -2,14 +2,14 @@ from rpsconst import * -# Enable for verbose output. -VERBOSE = True +# Enable for verbose output. (or use -v) +VERBOSE = False # Enable for even more verbose output. DEBUG = False # How many iterations to run before quitting. -MAX_ITERATIONS = 15 +MAX_ITERATIONS = 1000 # 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 -# 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)