1 ''' Configuration settings for the RPS simulator. '''
5 # Enable for verbose output.
8 # Enable for even more verbose output.
11 # How many iterations to run before quitting.
14 # How many of each agent to create initially.
15 STARTING_POPULATION = 10
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 # Game dynamics - these are not final:
33 # WINNER TRUTH ATTPoints, DEFPoints
34 pointsTable [Attacker] [False] = (3, -3)
35 pointsTable [Attacker] [True] = (2, -2)
36 pointsTable [Defender] [False] = (-2, 2)
37 pointsTable [Defender] [True] = (-3, 3)
38 pointsTable [Tie] [False] = (0, 0)
39 pointsTable [Tie] [True] = (1, 1)