The post discusses how to simulate dice rolls using coin flips, providing a method to represent dice of different sizes through binary addition. It explains the concept of rejection sampling to ensure fair rolls for non-power-of-2 sized dice, and explores the advanced use of discarded values for cryptographic purposes. The methodology works for standard dice like 6-sided and 20-sided dice, as well as more complex configurations.
Sort: