Unformatted text preview:

Use Cases1) User goes to main pagea) User has flash, and starts the gameb) User does not have flash(1) User is directed to where they can download flash(2) User starts the game2) User is presented with login dialoga) If they are a new user, they create a new account(1) New account is accepted, account is created, and user is logged in(2) Username is already taken, taken to create new account screen again(3) Invalid name length (not between 4 and 10 characters) or password length (not between 5 and 8 characters), and the user is taken to new account screen again(4) Passwords do not match, they are prompted to enter matching passwordsb) If they are an existing user, they log in(1) Their username and password match, and the game begins(2) Username is not found in database, or password does not match, they are told their login is incorrect3) Game beginsa) If they are a new user, 10 monsters are created for them. They are then asked to enter 10 names, and the name of each monster is set to this name. b) If they are an existing user, their monsters are loaded4) Gameplaya) In-field Monstersi) User clicks on a monster in the field, nursery, breeding pen, or fighting pen and their statistics are displayed at the top of the screen.ii) User clicks anywhere else on the screen and nothing happens.iii) User attempts to drag breeding monsters or nursery monsters into the field andis unable to move them and alerted of this fact in the message area.iv) In-field feeding(1) Fruit tree is full and user drags fruit from the tree onto the monster they want to feed. Tree is empty and feeding monster’s ATP increases.(2) Fruit tree bears no fruit. User is unable to pull fruit from the tree.b) Breeding: User drags a female or male monster into breeding pen.i) User drags counterpart gendered monster into the breeding.(1) User may click on monsters here and view stats. User may remove either monster and return it to the field, or place it in the fighting pen.(2) User selects breed button.(a) Breeding begins and lasts for 5 minutes. The user must select one of 3 offspring, whose stats can be viewed at this time. The user is asked an educational question about this offspring(i) User receives a multiple choice question and is able to toggle a radio button between choices a, b, c, and d(ii) User receives the Punnet square question (# 4). They input the correct letters into a provided 2x2 Punnet square box. For the two labels on the top and the two labels on the left side they are able to toggle between H and h. For the 4 boxes inside the square they are able to toggle between HH, Hh, and hh. 1. If they answer correctly, 5 years is added to the life of the offspring, and it is sent to the nursery. Breeding parents are returned to field.2. If they answer incorrectly, the offspring is sent to the nursery asis. Breeding parents are returned to field.(iii) User receives the final question. 1. If they answer incorrectly, the offspring is sent to the nursery asis, if they answer correctly the offspring receives an extra 5 years added to its life. Breeding parents are returned to field. This question will be asked again at every breeding afterward and have no effect as far as correct/incorrect answers or rewards for the offspring.(b) User attempts to drag any monster into the breeding pen while breeding is occurring, monster is returned to field, and the user is told in the message area that the breeding is not complete.(c) User attempts to drag a monster from the fighting box into the breeding pen after breeding has started and is not allowed. Monster is returned to the field and message area tells user breeding is not complete.ii) User attempts to drag a male with another male or female with another female and is not allowed to drop the second into the pen. Monster is returned to the field and user is told in the message area to pick either another male or another female, depending upon which gender is already in the pen.c) Nurseryi) User attempts to remove a monster from the nursery before it is old enough, and nothing happens. User can view stats of these monsters but is unable to pick them up.ii) Otherwise after 5 minutes the monster is released to the field(1) Before release there are <= 14 monsters, monster is released(2) Before release there are 15 monsters, monster is released and user must choose one other monster to retire in its place. At this time the user is able to select monsters on the field in order to view their statistics to better decide which monster to retire.d) Fighting Peni) User attempts to drag a monster into the pen from the field when there are no other monsters or one other monster and the monster is inserted into the penii) User attempts to drag a monster into the pen from the field when there are 2 monsters in it already and the monster is inserted into the pen.iii) User attempts to drag a monster into the pen when there are 3 in it and is unable to do so.(1) User selects the Fight! Button.(a) There are < 3 monsters in the pen, and the user is told in the message area that 3 monsters are needed to begin a battle.(b) There are 3 monsters in the pen, and the battle begins. The main screenarea is paused and the user is sent to another screen for battle.e) Beginning a Battlei) User is unable to connect to server. They are notified with a message box. No retries are executed.ii) User successfully connects to server(1) There are no other players online to fight(a) User waits(b) User returns to main gameplay screen(2) There are other players online to fight(a) You commence a fight(i) Player declines your request to battle. You are alerted with a message box and remain at the screen listing online players to fight.(ii) Player accepts your request to battle. You are alerted with a message box that they have accepted and fighting is about to begin.(iii) After 30 seconds player has not responded. You are told this in a message box, and remain in the challenge screen.(b) Another player challenges you. You see a box containing their name, wins, along with their 3 monsters and corresponding wins that tells you they are challenging you.(i) You accept the challenge, and are alerted that the fighting is about to begin.(ii) You decline the challenge and remain on the screen listing online players to fight.(iii) You are idle for 30 seconds, and the challenge is automatically declined for you. You remain at challenge screen if you have not been disconnected.f) Actual battle: screen remains the same


View Full Document

UNC-Chapel Hill COMP 523 - Use Cases

Download Use Cases
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Use Cases and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Use Cases 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?