Use Case 6--Exit Game

 

Context of use:
When the game ends, the program should know which steps to follow based on the type of exit made by the user
 

Scope:
J2ME Pac-man Game Application
 

Level:
User Goal
 

Primary Actor:
Mobile Phone or PDA User
 

Stakeholders and Interests:
User: wants the game to exit smoothly
 

Precondition:
The user of the game has hit the exit button, lost all three lives, or beat the game. We know which of the scenarios is in effect and the game finishes accordingly.
 

Minimal Guarantees:
The device will not be left in a hung state.
 

Success Guarantees:
The device will be returned to the state it was in before the game was played.
 

Trigger:
Player hits button, beats game, or loses all three lives.
 

Main Success Scenario:
 

Extensions:
 

Technology and Data Variations:
None
 

Related Information:
PacMan Use Case 6 Collaboration Diagram
PacMan Use Case 1 and 6 Class Diagram
PacMan Package Diagram
Pac Man Use Case Model