/DiceGame

Primary LanguageJava

DiceGame

The dice game described in Applying UML and Patterns begins with a use case:

  • Play a Game
  • The actor is a player
  • The player rolls the dice

If the sum of the rolls is equal to seven, the player wins;

otherwise, the player loses.