packages icon
rolldice is just a simple program that rolls an amount of virtual dice of
any size.  Well, technically, all the attributes of the dice can't exceed
MAXSHORT, but I think it suffices for any normal FRPG. :)

rolldice is a simple program, trying to uphold the UNIX philosophy of doing
one thing, and doing that thing well.  However, this is not a claim that
rolldice cannot be improved,  only that I am satisfied with it, as of right 
now... of course, any improvements will be accepted gladly :)

I've had a request to add /dev/(u)random as random number input, and so 
I've added the capability to use the random number devices as random input.
The -u option gives you /dev/urandom, and the -r /dev/random.

I know I've been a little late in adding some new features, and I apologize,
but I'm sure you understand, college and all... anyway, there are two new
features in this version of rolldice: A default for the number of dice to
roll (so that strings like "d6" are possible now), and the ability to use
"d%" as a percentage roll (rolls d100).  Actually, for the latter, you can
use strings like "#d%" to roll # percentage dice at once... it's a feature :)

I still haven't put in either the option to print out all the dice, nor
allowing multiple dice strings on the command line.  All these features will
be easy to implement, but I have more CS to work on right now, so they'll
have to wait just a little while longer...

This program has been placed under the GPL... just thought I'd let you know
that. ;)

Stevie Strickland
sstrickl@resnet.gatech.edu
http://computersprache.net/~sstrickl/