In classical Iterated Prisoner’s Dilemma Game, a group of agents play against each other many times. With introduction of memory, they can remember opponent’s previous moves and based on that they can change their strategy (see. https://arxiv.org/pdf/1605.08682).