English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

3 answers

For any roll, the chances of a particular number on an N sided die coming up is 1 in N. Therefore, generating a random number from 1-N for each roll would be the answer.

2006-06-24 11:42:41 · answer #1 · answered by Gizmo L 4 · 0 0

What you need is a random number generator. maybe tap the clock or some accessible counter, divide the last digit by 1.67 and round up. This will limit the choices from 1 to 6. Or drop the remainder and add 1.
You can adjust the denominator to skew the results, hoping to hit on more high numbers or more low.

There is no credible pattern to the roll of a die, flip of a coin or other random chance.
Cards are a little different as the displayed cards affect the remaining cards.
While theoretically, after rolling a ton of fives and sixes we would expect the next roll to be four or less, it's still even chance for any number!
You also expect that sixty rolls will yield ten of each, still not so.
The chances are ten of each, but results rarely so.

I once watched an oriental man play black on roulette, about eight times it came red! He took all of his wife's chips and played black, red again. They delayed the game to give him credit and increase the limit, $10,000 on black! You got it, red again!
He left and the next spin?
Nope, red again! Actually the next spin too!
While the odds of that were something like 6982 or 15638 to 1 the odds of the next spin are still 47%, ( There are two green ).

Many mathematical wizzes will argue the odds and percentages till the cows come home, but all of the most elaborated formulas simply cannot mimic the "Random" part!

2006-06-24 18:50:16 · answer #2 · answered by astroservus 3 · 0 0

Just search for a C# hello world program and replace the words "Hello World" with "6". It will be a perfect answer.

2006-06-24 18:37:51 · answer #3 · answered by fwiiw 4 · 0 0

fedest.com, questions and answers