[CSC 204] CSC 204 Assign. #3

Andrew J. Pounds pounds_aj at mercer.edu
Sat Oct 15 10:01:56 EDT 2016


On 10/14/2016 11:04 PM,  wrote:
>
> Dr. Pounds,
>
> Have you released the Dice.class file and Dice API? I have written the 
> bulk of the program, and I hope to set forth testing it. However, I 
> cannot find these materials.
>
>
> Thank you,
>
>

Yes -- the Dice.jar file is now on the class website under the HOMEWORK 
tab on the left.  I also placed a copy of the assignment there as well 
as a PDF document for those of you that do not have it.  Password is the 
Mercer mascot.

In class on Monday I will show everyone how to link this jar file into 
your Eclipse workspace (if you haven't figured it out on your own before 
then).   I also have an API for the Dice class on the class website in 
the REFERENCE section.  Basically there are two commands that you will 
need...


String roll = Dice.roll();


will return a string with five characters to the string variable called 
roll.  You can then do this...


String orderedRoll = Dice.order(roll);


to return the previously acquired roll sorted.





-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University,  Macon, GA 31207   (478) 301-5627
http://faculty.mercer.edu/pounds_aj

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc204/attachments/20161015/eec4fc9f/attachment.html>


More information about the csc204 mailing list