title: Rolling Dice probability of dice value
body: <p>I have a dice rolling game for which I am using the following logic. I want the dice values from 6 to 12 should fall in lesser probability. Based on the dice value the student Bonus point is increased. So higher the dice value higher the bonus point. So the dice value from 2 to 5 will fall frequently and the dice value from 6 to 12 should fall only for every 100th student. This is an windows application and each time the dice is rolled and the user gets the dice value the application is closed and again opened for another user to roll the dice. So how to track that the 100th student gets the dice value between 6 to 12..</p>
  
  <pre><code>for (Int32 i = 0; i &lt; numberOfDice; i++)
  {
      Int32 roll = rnd.Next(1, numberOfSides);
      total += roll;
  
      result.AppendFormat("Congrats..!!! You got Dice {0:00}:\t{1}\n", i + 1, roll);
  }
  </code></pre>
  
  <p>Please help.
  Any idea on how to do this. Please help.</p>