-
Notifications
You must be signed in to change notification settings - Fork 278
Description
On #296 (which has now been merged in) @langner, @marcharper and I had a chat about basic_strategies
. Marc wrote a nice function that defined basic strategies however this changed the basic_strategies
to:
Alternator
Anti Tit For Tat
Bully
Cooperator
Defector
Soft Go By Majority
Suspicious Tit For Tat
Tit For Tat
Win-Stay Lose-Shift
which Karol and I thought (please correct me if I'm speaking incorrectly on your behalf Karol) was a bit too much for the purposes of a demo - which is what I thought basic_strategies
was for.
I wonder however if a demo would be better served by:
strategies = [axelrod.Alternator(), axelrod.Cooperator(), axelrod.Defector(), axelrod.Random(), axelrod.Tit For Tat()]
As this shows how to access strategies (using a JuPyTer notebook, this would be quite nice with tab completion for example), then basic_strategies
can be used to show a bit more of a complicated tournament?
What do people think? I think it's a good one to chat about :)
Note that the actual work for this has more or less already been done and can be cherry-picked.