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.
12 # This is 100 for the short version and 1000 for the long version
15 # How many of each agent to create initially. (or use -n)
16 STARTING_POPULATION = 10
18 # Number of times the simulation is run. (or use -t)
21 # How much health to give each agent on birth.
24 # How much health at which an agent can reproduce.
25 REPRODUCE_HEALTH = 100
27 # How much health at which an agent dies.
30 # The age at which to kill any agent.
31 # This is 100 for the short version and 1000 for the long version
34 # Cap the number of agents (set to 0 to disable)
35 # you may also need to run ulimit -n <some big number like 1000>
36 MAX_TOTAL_AGENTS = 255
39 # WINNER TRUTH ATTPoints, DEFPoints
40 pointsTable [Attacker] [False] = (3, -3)
41 pointsTable [Attacker] [True] = (2, -2)
42 pointsTable [Defender] [False] = (-2, 2)
43 pointsTable [Defender] [True] = (-3, 3)
44 pointsTable [Tie] [False] = (0, 0)
45 pointsTable [Tie] [True] = (1, 1)