Use Case: Create Character - Amazing-Koalas/koala-kingdom GitHub Wiki
1. Brief Description
The goal of this use case is to allow the Player to create a character prior to entering the game. Creating a character consists of creating a unique name.
2. Included Use Cases
N/A
3. Preconditions
4. Flow of Events
4.1 Basic Flow – A character is created for the player to play with in the game.
- This use case begins when the player selects Create Character.
- The system presents the Create Character view with a nickname field.
- The Player enters a nickname.
- The system verifies that the nickname is unique within the upcoming game session.
- A success message is presented.
- The use case ends.
4.2 Alternative Flows
None
4.3 Exception Flows
E1: System determines that the nickname is not unique
- This flow begins when the system determines that there already exists player with a character with that nickname within the upcoming game session. Reference: basic flow step 4.
- The system presents a message informing the player that the nickname is already taken, and to enter another nickname.
- The flow returns to Basic Flow: step 3
5. Requirements
N/A
6. Post-conditions
a) The user has a new Character to play with. b) The system presents the Enter Game option.
7. Notes & Open Issues
8. Out of Scope (Future Functionality)
Selecting a character build (currently only one character build is under development) Customize Character Build (colors, accessories, hair)
Appendix A
Data Definitions
| Field Name | Description | Type | Req’d | Valid Values | Edits/Notes |
|---|---|---|---|---|---|
| Character Type | Characters have different builds and abilities | Character Build | Y | Base model, Warrior, Gatherer | First you must select what type of character you want |
| Character Name | Name your character for the session | Text, Numeric | Y | 1-16 Characters and Numbers | You name yourself for the session |
| Character Appearance | Choose the attire of your character | Character Visual | Y | Assortment of items based on build | Pick the attire available based on character type |