Use Case 9--Change Controls
Context of Use:
The User decides that the default controls for the application are not desirable
and wishes to customize.
Scope:
J2ME Pac-man Game Application
Level:
User Goal
Primary Actor:
Mobile Phone or PDA User
Stakeholder and Interests:
User: wants to customize controls.
Precondition:
The User has started the application and is at the Main Menu.
Minimal Guarantees:
Does not crash the application and default controls are restored.
Success Guarantees:
The User is transferred back to the Main Menu with the new controls saved.
Trigger:
User selects "Change Controls" from the Main Menu.
Main Success Scenario:
- 1. User selects "Change Controls" from the Main Menu.
- 2. Application prompts User to press the desired 'UP' button. User presses
desired button and System saves preference.
- 3. Application prompts User to press the desired 'DOWN' button. User
presses desired button and System saves preference.
- 4. Application prompts User to press the desired 'LEFT' button. User
presses desired button and System saves preference.
- 5. Application prompts User to press the desired 'RIGHT' button. User
presses desired button and System saves preference.
- 6. Application prompts User to press the desired 'PAUSE' button. User
presses desired button and System saves preference.
- 7. Application prompts User to press the desired 'EXIT' button. User
presses desired button and System saves preference.
- 8. User is given a Success Message and is returned to the Main Menu.
Extensions:
- 2a. User does not respond
- 2al. System will have a timeout (to be determined) and will then return
the User to the Main Menu with the default controls restored.
- 2b. Application error on saving control.
- 2bl. System displays a message that an Application error has happened.
- 2b2. User is taken back to the Main Menu, and default controls are
restored
- 3a. User does not respond
- 3al. System will have a timeout (to be determined) and will then return
the User to the Main Menu with the default controls restored.
- 3b. Application error on saving control.
- 3bl. System displays a message that an Application error has happened.
- 3b2. User is taken back to the Main Menu, and default controls are
restored.
- 3c. User selects a button that has previously been selected in this
configuration.
- 3c1. System prompts User for new selection.
- 3d. System displays a message that the button already exists in this
configuration.
- 3d1. System prompts User for new selection.
- 4a. User does not respond
- 4al. System will have a timeout (to be determined) and will then return
the User to the Main Menu with the default controls restored.
- 4b. Application error on saving control.
- 4bl. System displays a message that an Application error has happened.
- 4b2. User is taken back to the Main Menu, and default controls are
restored
- 4c. User selects a button that has previously been selected in this
configuration
- 4cl. System displays a message that the button already exists in this
configuration.
- 4c2. System prompts User for new selection.
- 5a. User does not respond
- Sal. System will have a timeout (to be determined) and will then return
the User to the Main Menu with the default controls restored.
- 5b. Application error on saving control.
- 5bl. System displays a message that an Application error has happened.
- 5b2. User is taken back to the Main Menu, and default controls are
restored
- 5c. User selects a button that has previously been selected in this
configuration
- 5cl. System displays a message that the button already exists in this
configuration.
- 5c2. System prompts User for new selection.
- 6a. User does not respond
- 6al. System will have a timeout (to be determined) and will then return
the User to the Main Menu with the default controls restored.
- 6b. Application error on saving control.
- 6bl. System displays a message that an Application error has happened.
- 6b2. User is taken back to the Main Menu, and default controls are
restored
- 6c. User selects a button that has previously been selected in this
configuration
- 6cl. System displays a message that the button already exists in this
configuration.
- 6c2. System prompts User for new selection.
- 7a. User does not respond
- 7al. System will have a timeout (to be determined) and will then return
the User to the Main Menu with the default controls restored.
- 7b. Application error on saving control.
- 7bl. System displays a message that an Application error has happened.
- 7b2. User is taken back to the Main Menu, and default controls are
restored
- 7c. User selects a button that has previously been selected in this
configuration
- 7cl. System displays a message that the button already exists in this
configuration.
- 7c2. System prompts User for new selection.
Technology and Data Variation:
None
Related Information:
PacMan Use Case 9 Collaboration Diagram
PacMan Use
Case 8 and 9 Class Diagram
PacMan
Package Diagram
Pac Man Use
Case Model