Reminded me of the game theory course by Stanford on Coursera. It was in the exercise on [backward induction](<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Backward_induction" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Backward_induction</a>), if I remember correctly.