Function m_ipd::strategies::opportunistic [−][src]
pub fn opportunistic() -> Box<dyn FnMut(Round) -> Choice>
Plays tit for tat, but if the last two rounds were both hidden, defects.
pub fn opportunistic() -> Box<dyn FnMut(Round) -> Choice>
Plays tit for tat, but if the last two rounds were both hidden, defects.