Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why not simply take the dice result not literally, but as index to a mapping table there 2 or 12 is swapped with 7?


Or use 1 dice 1..6 and one dice 5..10

The result should be (excel syntax) mod(d1+d2;12)+1. You can adjust the lowest start number of dice 2 to control which result gets the highest probability


that would change the probability distribution of the remaining numbers, which is to be avoided




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: