I want to create a dice rolling program suitable for most RPGs. At a minimum, I'd like to be able to give roll results for a variable number of all standard gaming dice (e.g. d2, d3, d4, d6, d8, d10, d12, d20, and d%). I assumed when I started looking that something like this would be easy to find, but so far nothing's turned up and I figure creating a program like this would be as good an introduction into programming as any. Thanks for your help.
This is what I've been able to do so far. It's really crude and pretty ugly.[codebox]1->D
Locate 11,3, Int (Ran# *4)+1
Locate 11,4, Int (Ran# *6)+1
Locate 11,5, Int (Ran# *8)+1
Locate 11,6, Int (Ran# *10)+1
Edited by SCasio, 05 February 2011 - 07:35 AM.