/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
| 4 comments |
05 Dec 25 19:32 UTC
|
HN request time: 0.214s
|
source
1.
AnotherGoodName
◴[
07 Dec 25 21:37 UTC
]
No.
46185409
[source]
▶
>>46166161 (OP)
#
A + B mod n seems much easier than this.
replies(2):
>>46185422
#
>>46185434
#
ID:
GO
2.
BoiledCabbage
◴[
07 Dec 25 21:38 UTC
]
No.
46185422
[source]
▶
>>46185409 (TP)
#
Yup
3.
tomsmeding
◴[
07 Dec 25 21:39 UTC
]
No.
46185434
[source]
▶
>>46185409 (TP)
#
The method proposed is just A - B mod n. The two are entirely equivalent.
replies(1):
>>46185485
#
4.
AnotherGoodName
◴[
07 Dec 25 21:44 UTC
]
No.
46185485
[source]
▶
>>46185434
#
A few extra steps to essentially manually do the mod part tbh. Would take their 20 line program to a 1 liner.
↑