So it turns out the random number generator long used by developers working with Google's V8 JavaScript engine doesn't really generate random numbers at all. That's being fixed in the latest release ...
Just last year, if someone had told me I'd be able to code up my own game from scratch in a matter of weeks, I never would have believed them. Coming from a business background with zero coding ...