Module m_ipd::strategies [−][src]
Modules
axelrod |
Functions
always_cooperate | Always cooperates |
always_defect | Always defects |
inverse | Plays the inverse of the other player’s move. |
majority | Plays the other player’s majority move. |
minority | Plays the other player’s minority move. |
opportunistic | Plays tit for tat, but if the last two rounds were both hidden, defects. |
tit_for_two_tats | Plays tit for tat, but does not defect until the other player has defected twice in a row. |