Updated monday 3/15: the recombination bug is fixed, and tft (feud-proof) now breeds true. Count of tft appears at the bottom of the "show info" window. startTFT:true, starts with 10 tft-ers.

Also we have rik blok's proposed strategy available. 0111110111100101
0110110100100101
0011010001000100
0101011111011111
It also breeds true, and starts with 10 if you set startBlok:true,
The count of blok's critters also appears at the bottom of the show info window.

e-mail:bill harms

Notes

Available true breeding strategies.

History Sequence tft Blok  
  • So this is the first run at the Holland Genetic Algorithm/Prisoner's dilemma with 3-move  memory. It runs 100 agents (this is adjustable).

  • The table to the right specifies the behavior of the available true-breeding strategies. 0 stands for cooperate, 1 for defect. The six digits in the history sequence give the rememberd moves for
          self t-3/other t-3/self t-2/other t-2/self t-1/other t-1.
    There are 64 such histories. Strategies specify responses to each of them. Memory starts off randomized, and is carried over from the last encounter.

  • The "show info" button creates a window with a list of the levels of the various strategy-components for the 100 players. That is, it gives the number of agents who will defect for each of the 64 history possibilities.

  • If you set "startTFT:true," then  10 of the initial players will be feud-proof tit-for-tatters.

  • Interactions last 20 rounds, death and reproduction happen every 50 cycles. Half the agents are killed and the other half reproduced with mutation and recombination. Currently, the GA just runs a 2% mutation rate on each locus when offspring are created. Recombination is set to 1%. Only offspring are mutated and recombined.

    • Both mutation and recombination rates are adjustable via the "Input settings" field at the top. Codes must be input exactly as they appear in the output window at the bottom. Just input the new value (in the correct format), press "Reset Simulator" and you should see the new settings in the output window.

  • Feeding and growth are turned off. Movement has a high 50% proabability every cycle.

0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
59
59
60
61
62
63
000000
000001
000010
000011
000100
000101
000110
000111
001000
001001
001010
001011
001100
001101
001110
001111
010000
010001
010010
010011
010100
010101
010110
010111
011000
011001
011010
011011
011100
011101
011110
011111
100000
100001
100010
100011
100100
100101
100110
100111
101000
101001
101010
101011
101100
101101
101110
101111
110000
110001
110010
110011
110100
110101
110110
110111
111000
111001
111010
111011
111100
111101
111110
111111
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
1
1
1
1
0
1
1
1
1
0
0
1
0
1
0
1
1
0
1
1
0
1
0
0
1
0
0
1
0
1
0
0
1
1
0
1
0
0
0
1
0
0
0
1
0
0
0
1
0
1
0
1
1
1
1
1
0
1
1
1
1
1
 

mailto:bharms@interchange.ubc.ca

E.A.M.E. home