I have been given an assignment to produce a dice roll game in Java. I have also been given the dice class which I think is going to be used to display the dice images. The code for this is below:-
The game will consist of 24 dices shown on the screen in rows of 6 x 4 and then at the end of each row the program will calculate the number of dices that show the same value in a particular row.
Now I already know that I am probably going to have to use different classes for calculating and controlling the dice, but how do I link them together? I also need to use a harness class to start the program is this just a main & constructor in a seperate class?
The only other thing which i am very unsure about is what classes do i need and how can each component of the program be split up into each class?
If someone could draw me a rough uml diagram to explain this would be very helpful.
Thanks to everyone (in advance)
[ EJFH: Fixed code tags. ]
[ February 18, 2005: Message edited by: Ernest Friedman-Hill ]