Grim trigger

Grim trigger (also called the grim strategy or just grim) is a trigger strategy in game theory for a repeated game, such as an iterated prisoner's dilemma. Initially, a player using grim trigger will cooperate, but as soon as the opponent defects (thus satisfying the trigger condition), the player using grim trigger will defect for the remainder of the iterated game. Since a single defect by the opponent triggers defection forever, grim trigger is the most strictly unforgiving of strategies in an iterated game.

Note that tit for tat, the commonly accepted optimal iterated game strategy, is also a trigger strategy, except that unlike grim trigger, it only "remembers" one move previous when determining whether to cooperate or defect.