1 ''' Configuration settings for the RPS simulator. '''
5 # Enable for verbose output. (or use -v)
8 # Enable for even more verbose output.
11 # How many iterations to run before quitting.
14 # How many of each agent to create initially. (or use -n)
15 STARTING_POPULATION = 10
17 # Number of times the simulation is run. (or use -t)
20 # How much health to give each agent on birth.
23 # How much health at which an agent can reproduce.
24 REPRODUCE_HEALTH = 100
26 # How much health at which an agent dies.
29 # The age at which to kill any agent.
32 # Cap the number of agents (set to 0 to disable)
33 MAX_TOTAL_AGENTS = 255
36 # WINNER TRUTH ATTPoints, DEFPoints
37 pointsTable [Attacker] [False] = (3, -3)
38 pointsTable [Attacker] [True] = (2, -2)
39 pointsTable [Defender] [False] = (-2, 2)
40 pointsTable [Defender] [True] = (-3, 3)
41 pointsTable [Tie] [False] = (0, 0)
42 pointsTable [Tie] [True] = (1, 1)