roulette how to

How I can create a biased roulette java?
I am looking for an understanding of the psdocode. How would you do, be numbers large areas X percent of the time.
Dealing with the probability is a pleasure for some. My skull is broken, but I can test and error, what I want. Since only "Dice" just use weighting factors. littleUns float = 0.10f, float middleUns = 0.30f / / 30% chance restUns = 0.60f float / / End of the curve of 100% randomNo possibles = New Random (1) / / 0-1 if (randomNo <littleUns) / / Select a new number between 1-10 or multiply elseif (randomNo> middleUns randomNo littleUns & & <) / / not 50 as usual Pick 40 numbers, but do not forget, Roulette, complex rules with 0 and 00 – win Chamber and Red / Black payment is low.
Learn How to Play Roulette
Mail this post