avatar: Guide
youroul.com

0
182

What kind of numbers is used for the roulette simulator?
(for the permanences)

Numbers from the software Pseudo Random Number Generator (P-RNG).

Those who doubt these numbers can use own numbers at any time!

From the python documentation:

Python uses the Mersenne Twister as the core generator. It produces 53-bit precision floats and has a period of 2**19937-1. The underlying implementation in C is both fast and threadsafe. The Mersenne Twister is one of the most extensively tested random number generators in existence. However, being completely deterministic, it is not suitable for all purposes, and is completely unsuitable for cryptographic purposes.

One Million Numbers

Here is a permanence over one million numbers on one track.

For ambitious roulette fans, here is a small Python script to output RNG numbers:

#!/usr/bin/env python
\# coding: utf8
from random import randint
def prng():
for i in xrange(0,1000): print randint(0,36)
prng()

These lines must be copied with the indentations into a text file.

How to proceed from there depends on the operating system.
Good luck!

Beitrag melden