Posted on April 10, 2020
Probability Test
This “Game” has an interesting backstory! When I was on a walk I was debating about a math problem. If there was a one in two (50%) chance of something happening and you have two people, is there a 100% chance that it would happen? Well in the real world this would be incorrect as there is a chance that neither would get it! So we worked out there is a 75% chance that at least one person will get it as there are 4 possible outcomes, no one gets it, one person gets it, the other person gets it or both get it. To test this out I made a quick project in unity which flips a bunch of coins to see the average probability. I also added the option of more than 2 coins.
So feel free to test this out for yourself!