That's not a useless project! It's a silly piece of code, but it gave joy to people, so I would say much more useful than most stories in this thread.
Back in the nineties my dad had the notion that if you make the computer select numbers at random many times, and you run statistics on the results you gain some "legitimacy" to these selections. So he asked me to write a "lotto number selector program", but it needed to run for a few hours and select many numbers and then output the ones that were selected the most or some such. Maybe it was more sophisticated, but I can't really remember the details. I guess I could just add a delay instead of actually selecting the numbers, but I wouldn't lie to my dad :)
It was super silly, but like you said, why not, I was a teen/tween and I didn't mind playing around with silly software.
He actually used it and actually filled out the lotto numbers based on it. No, we never won the millions :)
Also - I just visited a casino in Spokane, WA for the first time ever. Isn't that what all the machines there are doing? A random number emitter thingy with random delays, animation, music and flashing lights?
Your dad's thinking wasn't wrong, but you should've used the same PRNG as the machine that generates the official lotto numbers. Of course you still probably won't win though :P
Back in the nineties my dad had the notion that if you make the computer select numbers at random many times, and you run statistics on the results you gain some "legitimacy" to these selections. So he asked me to write a "lotto number selector program", but it needed to run for a few hours and select many numbers and then output the ones that were selected the most or some such. Maybe it was more sophisticated, but I can't really remember the details. I guess I could just add a delay instead of actually selecting the numbers, but I wouldn't lie to my dad :)
It was super silly, but like you said, why not, I was a teen/tween and I didn't mind playing around with silly software.
He actually used it and actually filled out the lotto numbers based on it. No, we never won the millions :)
Also - I just visited a casino in Spokane, WA for the first time ever. Isn't that what all the machines there are doing? A random number emitter thingy with random delays, animation, music and flashing lights?