Dice Distribution On The Palm

Dice Distribution

Here is a toy Palm program that will simulate rolling dice and graphing the resulting dice sums in columns. It's not really useful, but it does give a nice visual sense of the distribution you get when rolling dice. It allows you to choose the number of dice rolled at a time and the number of sides on the dice. I wrote it using OnBoardC, a compiler that runs directly on the Palm.

I've included the source for the program along with the executable. It's a nice example that shows how to write a fairly simple program.

Download Dice Dist for the Palm
Copyright 2004 by Truman Collins
For comments, email: Truman Collins (truman@tkcs-collins.com)
Most recent update: January 5, 2005
5,699 visits (5 today, 19 this week, 57 this month, 291 this year) since February 18, 2004.