Hacker News new | ask | show | jobs
by yyhhsj0521 2551 days ago
This can be generalized to having any distribution, simulating a die:

http://www.keithschwarz.com/darts-dice-coins/