:: Implementations of Random Number Generators in Online Casino Software

Random Numbers and Casino Games

When most people think about what it takes to create casino gaming software that is both fair and fun for use over a network or as a standalone application the number one concern is about generating random numbers. In order to truly mimic the randomness of a dice throw, flip of a coin, or deck of cards a random number generator (RNG) is essential. However, not all RNG programs are created equal and not all programming languages implement RNG the same way

Visual Basic Random Number Generation

In Visual Basic there is a built in function called Rnd that will output a random number between 0 and 1. While that may not seem useful if you want a random number between 1 and 10 you can simply multiply the random number created by Rnd to create larger random numbers. The drawback to using Rnd is that the number produced is known as a pseudo-random number. Therefore if you only use this function you will get the same sequence of random numbers each time you run the program. If this is for determining dice rolls in a game of Craps, then the game will not be unpredictable at all! In order to crate stronger random number VB programmers can use the Randomize method to seed the Rnd function with an initial number that will result in a more realistic random sequence.

Real Life Online Casinos and Random Numbers

While VB is not commonly used by online casino game developers, similar functions as Rnd and Randomize are used. Most online casino games today are developed in Flash using Adobe's ActionScript programming language on the back end. While computerized randomness may not mimic the exact randomness found in nature it can come so close that the difference is extremely miniscule. Online casino software developers like Playtech Microgaming (see here) and Cryptologic have their software'™s randomness checked by an outside source to make sure they are as random as a computer program can be.