[quote name=\'lobster\' post=\'178215\' date=\'Feb 19 2008, 01:33 PM\']
[quote name=\'Craig Karlberg\' post=\'178193\' date=\'Feb 19 2008, 03:32 AM\']
I always wondered if there were 362,880 combinations(9!) on a 3x3 grid, why were there repetitions on the Tic Tac Dough board. Then I reailized, it was programmed that way since the monitors were hooked up to an Apple IIe. That's how I figured that when I programed a random number generator program in high school, it wasn't "truly random" when you first start the program each day.
[/quote]
When I first started playin around in BASIC on the ol' IBM PCjr, I remember the rnd command was to give a random decimal number between 0 and 1.. so in order to have it choose a random number between 1 and 10, you would take the CINT (integer rounded to the "ceiling") of the rnd*10, so if you were given 0.395033988 as the rnd, the cint(rnd*10) would yield your "random" number between 1 and 10 = 4
The problem was, every time you ran the program, it would give you the same set of rnd's unless you stuck a "RANDOMIZE TIMER" before you started to ask it to spit out rnd's.. then it would synch up the randomization with some millisecond coding... Which yielded relatively random numbers, unless you ran your program and precisely the same millisecond more than once .. it wasn't true pure randomness, but it worked for making cheesy number and word guessing games
[/quote]
and to this point, and hopefully not taking this too far off topic, many people are still under the idea that slot machines of today are using a random number generator to determine the result of their "spin". You can't create a RNG to do that so the machines have programed into them a sequence of possible results that are always "spinning". Pushing the button stops that sequence.
I've wondered how these computer games of DOND for instance are actually placing the dollar amounts into the cases. Then I realize what a wast of my life it is wondering that, and I pick up a book.