Module: lib/strategies/sorry

Tit-for-tat with a twist: if the opponent defects, there is a chance equal to FOREGIVENESS that the strategy will cooperate anyway, rather than defect.

Source:

Members

(inner, constant) FORGIVENESS :Number

Type:
  • Number
Default Value:
  • 0.2
Source: