How Randomness Shapes Our Choices: Insights from Mathematics and Games