[CSC 204] Dice Class and API available

Andrew J. Pounds pounds_aj at mercer.edu
Mon Mar 2 22:22:20 EST 2009


Okay, I placed the Dice.class file on the web page.  Please note, you
will not have to create objects of type dice.  To generate a dice roll
you should do
something like this...


String roll = Dice.roll();

to get this roll put in order...

roll = Dice.order(roll);


-- 
Andrew J. Pounds, Ph.D.  (pounds at theochem.mercer.edu)
Associate Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627



More information about the csc204 mailing list