Re: How to generate random numbers in C
- From: roberson@xxxxxxxxxxxxxxxxxx (Walter Roberson)
- Date: Fri, 11 Apr 2008 19:55:01 +0000 (UTC)
In article <e-qdne9eY--dJ2LanZ2dnUVZ_qWtnZ2d@internetamerica>,
Gordon Burditt <gordonb.k57gn@xxxxxxxxxxx> wrote:
If you try to offer casino gambling games (e.g. craps, blackjack,
roulette, etc.) for real money using pseudo-random numbers, you're
going to lose.
I read a document describing the implementation of the electronic
games (e.g., slot machines) in a large real casino with many machines.
The numbers used were *not* true random numbers: they used a
complex algorithm that sent bursts of pseudo-random numbers to each
device, with the numbers sent out tweaked to dynamically alter the odds.
Thus when the central computer detected that a certain threshold of
money had come in, it would up the odds of winning so that there would
be a payout, to retain the long term house-odds they were licensed
to use by the appropriate gaming commission. Effectively, the casino
central computer would "pick" a machine have a jackpot on the basis
that it was time that -someone- won.
I do not recall now what was said about the manner in which the
pseudo-random bursts were generated; it was designed to make it
difficult to impossible for a human to predict, with the parameters
continually shifting. But the parameter shifts and numbers sent out
would be all carefully recorded to a write-once medium, so that if need
be afterwards the gaming commission or casino could examine the tapes
to ensure that the casino was not cheating the customers and that the
customers had not somehow cheated the casino.
--
"MAMA: Oh--So now it's life. Money is life. Once upon a time freedom
used to be life--now it's money. I guess the world really do change.
WALTER: No--it was always money, Mama. We just didn't know about it."
-- Lorraine Hansberry
.
- Follow-Ups:
- Re: How to generate random numbers in C
- From: Bill Reid
- Re: How to generate random numbers in C
- From: Malcolm McLean
- Re: How to generate random numbers in C
- From: Gordon Burditt
- Re: How to generate random numbers in C
- References:
- How to generate random numbers in C
- From: pereges
- Re: How to generate random numbers in C
- From: Gordon Burditt
- How to generate random numbers in C
- Prev by Date: Re: C source code line count function
- Next by Date: Re: What is wrong in this program ?
- Previous by thread: Re: How to generate random numbers in C
- Next by thread: Re: How to generate random numbers in C
- Index(es):
Relevant Pages
|