| Posted by: BlackjackInfo at January 7, 2003, 3:50 pm | | Topic: Cryptologic Software - Fair? Forum: Winner Online |
There are many ways that RNG output can be translated into an effective random game, but here's one that I use in the games offered at my site.
Assume a 52 card deck, represented as a list of 52 cards. To shuffle it, I run through each of the 52 spots, and swap the card in that position with a randomly selected card from the deck.
That is, I choose a random number between 1 and 52 using the RNG, and swap that card with the card in position 1. Then, I choose another random number from 1 to 52, and swap that card with the card in position 2. Continue until every position has been swapped, and you have a randomly ordered deck.
Then, just deal the game off the top of the deck as normal.
Both the Javascript game at my site, and the Flash game at my site utilize this method of shuffling.
------------------
-Ken-
SlotCharts.com; BlackjackInfo.com
|
| |
Similar entries:
RTG Blackjack inetbet & casino-on-net Which Casino SW is the most fair? WiseGyeCasino Hard evidence Unified Gaming BJ is unfair inetbet & casino-on-net Intercasino Rtg? Rtg? Rtg? High Rollers Signup Bonuses? Will hill US and £ casinos
|
|
Casino Classic Get $500 free on the house!
Categories:
online slots poker games online blackjack gambling system casino free online poker online gambling casino gambling free poker casino slots online poker casino poker poker tables poker chip sets casino bonus poker game poker stars gambling tips poker chips poker tournaments
Links:
Movie Talks
Forum Extractor
|