Win–stay, lose–switch (source code)

= Win–stay, lose–switch
{wiki=Win–stay,_lose–switch}

Win–stay, lose–switch is a behavioral strategy often discussed in the context of decision-making and game theory. It describes a simple rule that individuals or agents can follow when faced with choices or actions that can lead to reward or failure. \#\#\# How it Works: 1. **Win (Success)**: If the current action leads to a positive outcome or reward, the individual stays with that action in the next round or iteration.