/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
A two-person method to simulate die rolls (2023)
(blog.42yeah.is)
76 points
Fraterkes
| 1 comments |
05 Dec 25 19:32 UTC
|
HN request time: 0.292s
|
source
Show context
evantbyrne
◴[
08 Dec 25 00:25 UTC
]
No.
46186915
[source]
▶
>>46166161 (OP)
#
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(1):
>>46187139
#
nrhrjrjrjtntbt
◴[
08 Dec 25 01:00 UTC
]
No.
46187139
[source]
▶
>>46186915
#
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
replies(2):
>>46187821
#
>>46192116
#
1.
evantbyrne
◴[
08 Dec 25 13:42 UTC
]
No.
46192116
[source]
▶
>>46187139
#
Ah yeah of course, there is a zero case as well. I was thinking you just restart as to not bias the result. That's an interesting alternative though
ID:
GO
↑