how simulated this roulette

which is ? the best language for simulate this roulette and thus get more accurate data of the numbers that will come out in each draw .... this roulette this systematized..

here a video. of this roulette

https://www.youtube.com/watch?v=Isg6nQonGDU

The mystery is in the seed since a random number generated by a pseudorandom algorithm will never be random unless the seed is actually random .. a friend told me that with the clock the system generates a small seed smaller than 32 bits,
with this seed the possibility of repeating a number is obvious .... now says that we must obtain the seeds of the previous draws, of a specific schedule hour to know the relative time and simulate with the average of the obtained seeds, the next result from the same time the next day.

knowing this, wich is ? the best language of C , for do this roulette .


Last edited on
now says that we must obtain the seeds of the previous draws, of a specific schedule hour to know the relative time and simulate with the average of the obtained seeds, the next result from the same time the next day.

No, that's nonsense. Use a better PRNG (anything other than std::rand() is a good start.)

I can hardly understand your English. But maybe this will help you:
http://en.cppreference.com/w/cpp/numeric/random

http://www.pcg-random.org/

Also, have a look at this thread (using the CSPRNG built into your operating system is a reasonable choice.)
http://www.cplusplus.com/forum/lounge/221672/
Last edited on
Topic archived. No new replies allowed.