View Single Post
Senior Member
legolizard's Avatar
Status: Offline
Posts: 242
Join Date: Jan 2011
Location: Aboard the Hyperion escaping the zerg.
Default 08-16-2011, 09:45 PM

Interesting question with a mathmatically simple explanation and a not so good way of stopping it. You see computers actually generate not-so-random numbers. This meaning the numbers generated are random to a certain extent. This is why they are called pseudo-random generators. Now there is really no concreate way to fix this as most random things aren't. The only way that might help is to make an if statment to check to see if the number is equal to a previous number and if it is then make another number. However it is still possible that you will get the same number.

Does that make sense?

"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."-Albert Einstein
Reply With Quote