Depending upon the implementation of mimic_bot, this is a quiny approach. mimic_bot obviously can’t run the opponent on an exact quine of yourself, because then you won’t achieve mutual cooperation. (When one of the bots cooperates unconditionally, the other will see that it acts_like_cooperate_bot and defect.) So long as mimic_bot plays opponents against a pure MimicBot instead of a perfect quine, this should work quite well.
On an unrelated note, woah, how’d you get whitespace working?
You can deal with those special cases that way. I was going to use a flatter, less quiny approach.
Depending upon the implementation of
mimic_bot, this is a quiny approach. mimic_bot obviously can’t run the opponent on an exact quine of yourself, because then you won’t achieve mutual cooperation. (When one of the bots cooperates unconditionally, the other will see that itacts_like_cooperate_botand defect.) So long asmimic_botplays opponents against a pure MimicBot instead of a perfect quine, this should work quite well.On an unrelated note, woah, how’d you get whitespace working?
Total kludge. Used exotic unicode whitespace characters#Spaces_in_Unicode), which are displayed unaltered in comments :-).