Pavlov strategy

The Pavlov strategy for Prisoner’s dilemma is given by the following rules:

  • You start off cooperating,
  • If you were cooperated last round and your opponent cooperate then you cooperate again, however if they defected then you defect.
  • If you defected last round and your opponent cooperated you defect again, if they defected also then you cooperate.