Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
AnotherGoodName
5 months ago
|
parent
|
context
|
favorite
| on:
A two-person method to simulate die rolls (2023)
A + B mod n seems much easier than this.
tomsmeding
5 months ago
|
next
[–]
The method proposed is just A - B mod n. The two are entirely equivalent.
AnotherGoodName
5 months ago
|
parent
|
next
[–]
A few extra steps to essentially manually do the mod part tbh. Would take their 20 line program to a 1 liner.
BoiledCabbage
5 months ago
|
prev
[–]
Yup
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: