Re: Intent to package rolldice, blackjack
On Thu, Jan 21, 1999 at 04:04:20AM -0500, Stevie Strickland wrote:
> rolldice is a virtual dice roller that takes in a string on the
> command line in the format used by some fantasy role playing games
> like Advanced Dungeons & Dragons and returns the result of the dice
i wrote some dice-rolling routines several years ago (when i still had
time to play RoleMaster, long before i got into linux).
it handled all the standard dice-rolling conventions, as well as the
high/low/both open-ended rolls used by RM (roll d100, if 01-05 then roll
again and subtract, if 96-00 then roll again and add. keep on rolling
and adding/subtracting if you get >96)
i wrote a bunch of related stuff too. was basically writing myself a
GM's reference chart/character gen/campaign notebook/dice-roller/etc
for RM, but never got around to finishing it, and then moved to another
state and never found time to start a campaign again or find players.
that's the good news. the bad news is that it was all done in turbo
pascal. however, the algorithms were clean and readable, so easily
ported to C.
if you're interested, i'll dig up the files (i still have them on tape
somewhere...i think. dusty old code from the early 90s :-) and mail them
to you. i'll GPL them first, so you can do what you want with them.