5 votes

Improving on QBasic's random number generator

1 comment

  1. joplin
    Link
    This was really cool! I'm curious how they figured out the source code for the random number generator? Is QBasic's code public? Or do they just look at the assembly? This one is so short it...

    This was really cool! I'm curious how they figured out the source code for the random number generator? Is QBasic's code public? Or do they just look at the assembly? This one is so short it wouldn't be difficult to do it that way, but they didn't say, so I'm curious. I find these RNGs from older machines fascinating. You need something that's "random enough" but isn't too complicated to run on very low-end hardware.

    3 votes