logoalt Hacker News

evantbyrnelast Monday at 12:25 AM1 replyview on HN

If you have a coin: Heads and tails represent bits. Flip a coin three times and add up the result to emulate a six-sided dice roll. e.g., heads, heads, tails = 3. If you get 7, then try again.


Replies

nrhrjrjrjtntbtlast Monday at 1:00 AM

If you get all heads or all tails then use the last toss as part of your next set of 3.

E.g. HHHHT -> HHT -> 6

show 1 reply