This game was inspired by the reading of "Thinking, Fast and Slow".
He wants to give a simple demonstration of how we are often biased in making choices.
If you are interested you can go into that reading this paper
Choices, Values, and Frames: http:web.missouri.edu~segerticapstonechoicesvalues.pdf
and this article: https:en.wikipedia.orgwikiLoss_aversion
The game consists of choosing between two different bets.
After which the computer makes its choice always using the same simple formula.
The events that determine the bet are generated and you gain or lose the difference.
If you get $ 2,000 win, if you lose you get $ -2000.