HN2new | past | comments | ask | show | jobs | submitlogin

It is a pretty neat game. I have no idea what MTH$RANDOM is.Can you suggest some links where could i look it up?


The best reference that Google turned up, IMHO, was the info page for the GNU Scientific Library's random number generators, which has MTH$RANDOM under the name gsl_rng_vax():

http://www.gnu.org/software/gsl/manual/html_node/Other-rando...

Of course, that info page can't tell you what seed the VAX in the game is using....


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...





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

Search: