![]() | Bovada is the only Internet casino endorsed by the Wizard. Here are my reasons why and my promise of support. |
Roulette vs Bac on RNG (Wiz?)
| January 26th, 2012 at 2:12:38 PM permalink | |
| EvenBob Member since: Jul 18, 2010 Threads: 231 Posts: 6400 |
There were ties, it was probably 70 trials. Still, it was quite a shoe. Bac players live for trends. And because you can piggyback bets in bac, there was a row of players standing and betting in the sitting players boxes. One casino owner to another: "It would be so much easier if we could just hit them over the head, steal their money, and throw their bodies in the creek." Al Swearengen, Deadwood |
| January 26th, 2012 at 2:20:33 PM permalink | |
| thecesspit Member since: Apr 19, 2010 Threads: 38 Posts: 3106 | Lets assume a 52/14/4 split then. It's about a 1 in 97,000 event 14 or less Players is about 1 in 68,000. (I'm using a binomial function to work these out). Quite the time for all concerned :) "Then you can admire the real gambler, who has neither eaten, slept through nor lived, he has so smarted under the scourge of his martingale, so suffered on the rack of his desire, for a coup at trente-et-quarante" - Honore de Balzac, 1829 |
| January 27th, 2012 at 7:13:36 AM permalink | |
| DJTeddyBear Member since: Nov 2, 2009 Threads: 105 Posts: 5714 | Sooner or later, you will. Just as, sooner or later, you finally saw it happen with a live shoe. Chalk it up to "Shit happens." Superstitions are silly, childish, irrational rituals, born out of fear of the unknown.
But how much does it cost to knock on wood? |
| January 27th, 2012 at 7:32:23 AM permalink | |
| DJTeddyBear Member since: Nov 2, 2009 Threads: 105 Posts: 5714 | Actually, the RND function selects a fraction in the range 0<=x<1 (or it might be 0<x<=1). How it exactly does that differs depending on the software/hardware being used. Once that fraction is obtained, it is multiplied by the range you're looking for, and truncates it to an integer. Then, in the case of picking a random card, it maps out the numbers 1-52 to a rank and suit. In the case of roulette, maps 1-36 to 1-36, 37 to 0 and 38 to 00. In the case of shuffling, there are a couple ways to do. In one method, it randomly the cards, just keeping track to make sure it doesn't duplicate a card, until it has a full shuffled deck (or "X" decks). In another method it picks "slots". If the slot is empty, it puts the next sequential card into the slot. It's really not all that mysterious. Superstitions are silly, childish, irrational rituals, born out of fear of the unknown.
But how much does it cost to knock on wood? |
| January 27th, 2012 at 9:06:55 AM permalink | |
| MathExtremist Member since: Aug 31, 2010 Threads: 46 Posts: 2518 |
What a computer-implemented RNG actually does is generate a string of random bits. How that string is interpreted -- as a large number, as a floating point value between 0 and 1, etc. -- doesn't actually matter much. After the generation of the random bit string, a scaling algorithm is applied to convert that random data into a number in the appropriate range. There are good and bad ways of both generating random data and scaling to desired ranges. Doing either badly means trouble. "In my own case, when it seemed to me after a long illness that death was close at hand, I found no little solace in playing constantly at dice."
-- Girolamo Cardano, 1563 |
| January 27th, 2012 at 9:28:46 AM permalink | |
| thecesspit Member since: Apr 19, 2010 Threads: 38 Posts: 3106 |
Another method, which I believe is well used is the Fisher-Yates shuffle - take a deck of cards, and walk through the deck from top to bottom. For each card randomly swap it with a card at any place below it or leave it in place. Repeat for complete deck. This is a very efficient shuffle, as it works "in place" meaning you don't require a second array to hold the data. And you only need to generate as many random numbers as the number of cards in the deck. No need to check if a place is full or not. Wikipedia entry on the Fisher-Yates The caveat is the RNG must be unbiased, but that's always the case. "Then you can admire the real gambler, who has neither eaten, slept through nor lived, he has so smarted under the scourge of his martingale, so suffered on the rack of his desire, for a coup at trente-et-quarante" - Honore de Balzac, 1829 |
![]() | Bovada is the only Internet casino endorsed by the Wizard. Here are my reasons why and my promise of support. |
