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

http://en.wikipedia.org/wiki/Linear_congruential_generator

Unfortunately, I can't get the numbers to fit, even with accounting for 00, and using an actual roulette board order.



Roulette board order doesn't matter. It's calling the RNG sequence.

My mistake was feeding the mod 36 output back in as the next seed; it's the output from the RNG itself, and a good thing too...




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: