#documentation #modified #player #tournament #strategies #iterated #dilemma

bin+lib m_ipd

Library for working with the modified iterated prisoner's dilemma

1 unstable release

0.1.0 May 9, 2021

#300 in Simulation

MIT license

19KB
401 lines

Modified Iterated Prisoner's Dilemma

A library to play a version of the iterated prisoner's dilemma (IPD) in which player's past choices are only sometimes revealed according to a reveal policy. This library is available as m_ipd on crates.io and docs.rs. More details can be found there.


lib.rs:

This crate provides the necessary framework to simulate the iterated prisoner's dilemma in cases where the history is not always entirely available.

The mechanisms to provide one simulation are provided by the simulate function, and the full details of how this works are provided by the associated documentation. If one is interested in comparing many strategies against each other, the tournament function provides the necessary interface.

Dependencies

~315KB