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
9,489 visits (1 today, 3 this week, 19 this since February 18, 2004.
http://www.tkcs-collins.com/truman/palm/dicedist.shtml