Overview

For this assignment, you will need to use your creativity to develop a program that makes use of the Die class shown below that is similar to what was developed in lecture.

Assignment

+-------------------------------+
|         Die                   |
+-------------------------------+
| -numSides: int {readOnly}     |
| -currentValue: int            |
| -generator: Random <<static>> |
+-------------------------------+
| +Die(numSides: int)           |
| +Die()                        |
| +getCurrentValue(): int       |
| +roll(): void                 |
+-------------------------------+

You must implement this the Die class by the end of lab. Note the following:

Your program must:

You must submit a description of what your program will do by the beginning of lab (either via email or physically in lab).

Acknowledgement

This laboratory assignment was developed by Dr. Chris Taylor.