Академический Документы
Профессиональный Документы
Культура Документы
Group Members:
Matt Funk
Troy Huguet
Cooper McClain
Group Number: 2
Lab Instructor:
Cody Tankersley
This page intentionally left blank.
i
Table of Contents
1 Introduction 1
1.1 Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Definitions, Acronyms, and Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . 1
1.3 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2 System Overview 2
2.1 Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.2 Case Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
3 Specific Requirements 3
3.1 Use Case: 3.1 - View Pen Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3.2 Use case: 3.2 - View Individual Cow Status . . . . . . . . . . . . . . . . . . . . . . . 3
3.3 Use case: 3.3 - View Ration Market . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.4 Use case: 3.4 - Purchase Ration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.5 Use case: 3.5 - View Ration Inventory . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.6 Use case: 3.6 - View Current Feeding Plan . . . . . . . . . . . . . . . . . . . . . . . . 6
3.7 Use case: 3.7 - Change Feeding Plan . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.8 Use case: 3.8 - Auto-Update Cattle Status . . . . . . . . . . . . . . . . . . . . . . . . 7
ii
This page intentionally left blank.
iii
1 Introduction
1.1 Purpose
The purpose of this Requirements Document is to specify the software requirements of Feedlot
Wars, a game that simulates cattle management by players owning feedlots and rearing cattle. The
document will help to define the concept and functionality of Feedlot Wars for development.
Angus
A Scottish breed of cattle.
Cattle
Any grouping of cows.
Feedlot
A lot that contains pens. There are at most 10 pens per feedlot in Feedlot Wars.
Head
A reference to an individual cow.
Heifer
A young female cow that has not yet had a calf.
Hereford
A beef cattle breed popular in meat production.
Pen
An area within a feedlot that contains cattle. There are at most 10 cows per pen in Feedlot
Wars.
Player
Any owner of a feedlot. There is only one feedlot per player.
Ration
A portion of food that cattle eat. There are many types of rations.
Roughage
Indigestible portion of a ration.
Server
The computer hosting an instance of Feedlot Wars.
Spinner
A user interface element that allows the user to increment or decrement a number by one.
Steer
A castrated male cow.
1
1.3 References
IEEE Std. 830-1998, IEEE Recommended Practice for Software Requirements Specifications, In-
stitute for Electrical and Electronic Engineers, Piscataway, New Jersey, 1998.
2 System Overview
2.1 Purpose
Feedlot Wars is a website that will allow players to practice their skill in cattle management. The
proposed system is intended to provide a means for the player to monitor the nutrition of his/her
cattle, and feed his/her cattle through rations. The different ration types will have statistics
associated with them including: name, price, quality, and the average amount of weight gain
per day. The interface will allow players to browse through the rations and select how much of a
selected type they want to purchase. The rations will then be added to the players ration inventory,
assuming they had the required money. The player will then be able to feed their cattle with those
rations. When the player selects which ration to give each pen it is set as that pens feeding plan.
This feeding plan will stay in effect until either the player chooses a new one or the player runs out
of that ration. Feedlot Wars will automatically update the cattles weight and other health data
according to their current feeding plan once per game day.
2
3 Specific Requirements
3.1 Use Case: 3.1 - View Pen Status
Description: The player receives a broad overview of vital metrics for each pen of
cattle.
Requirement(s): The player must manage at least one pen with at least one head of
cattle.
Assumption(s): The player is viewing the “Nutrition” page, “Animal Health” section.
Actor(s): Player
Scenario: The player shall be presented with a table reporting the pens type,
number of cattle, and average weight of the cattle. These statistics
are listed in rows identified by the pen number, which itself shall be
clicked to take the player to a separate page listing the vital statistics
for each head of cattle in the pen.
Alternate Scenario(s): N/A
Constraint(s): Priority: Required
Fault Tolerance:
2. The player has a pen with no cattle: The affected row of the
table described above shall display the pen number and the
message “No cattle” spread across the remaining columns of
the table. The pen number shall be a disabled link.
3
3.3 Use case: 3.3 - View Ration Market
Description: The player receives a list of rations available for purchase.
Requirement(s): Rations must be available.
Assumption(s): The player is viewing the “Nutrition” page, “Purchase Rations” sec-
tion.
Actor(s): Player
Scenario: The player shall be presented with a table reporting only those ra-
tions available for purchase. Each row of the table shall contain the
following for each ration: name, coast per head per day, crude pro-
tein, roughage, concentrate, ADG, quality, and yield. The player
shall also be presented with a means to purchase rations listed in the
described table.
Alternate Scenario(s): N/A
Constraint(s): Priority: Required
Fault Tolerance:
4
Constraint(s): Priority: Required
Fault Tolerance:
2. The player has not selected a ration from the list: The trans-
action shall not succeed, and the message “You must select a
ration from the list” shall appear adjacent to the “Purchase
Ration” button.
Other Use Case(s): 3.3 - View Ration Market, 3. 5 - View Ration Inventory
5
3.6 Use case: 3.6 - View Current Feeding Plan
Description: The player receives an overview of the current feeding plan for each
pen under his/her control.
Requirement(s): The player must manage at least one pen, and must have at least
one ration available in inventory.
Assumption(s): The player is viewing the “Nutrition” page, “Feed Cattle” section.
Actor(s): Player
Scenario: The player shall be presented with a table reporting only those pens
with an active feeding plan. Each row of the table shall contain the
pen number and ration name assigned to that pen. The player shall
also be presented with a means to add or alter a feeding plan in the
described table.
Alternate Scenario(s): N/A
Constraint(s): Priority: Required
Fault Tolerance:
6
Constraint(s): Priority: Required
Fault Tolerance:
1. The player has not selected a ration: The transaction shall not
succeed, and the message “You must select a ration from the
list” shall appear adjacent to the “Update Plan” button.
2. The player has not selected a pen: The transaction shall not
succeed, and the message “You must select a pen from the list”
shall appear adjacent to the “Update Plan” button.
3. The player has no rations in inventory: The two lists and but-
ton described in this use case shall be hidden, and the message
“You have no rations in inventory” displayed in their place.
4. The player does not manage any pens: The two lists and button
described in this use case shall be hidden, and the message “You
have no pens” displayed in their place.
Other Use Case(s): 3. 5 - View Ration Inventory, 3.6 - View Current Feeding Plan
Description: The server updates the statistics of each head of cattle regularly
according to the instituted feeding plan for their corresponding pen.
Requirement(s): At least one head of cattle must be available.
Assumption(s): The player has a ration in inventory to satisfy an active feeding plan.
Actor(s): Server
Scenario: The server, by pen managed by the player, takes each head of cattle
and updates its weight, quality, and yield grade according to its ra-
tions. After all heads of cattle have been assessed, the pens morbidity
and mortality are updated.
Alternate Scenario(s):
2. The pen runs out of ration: All heads of cattle after the last
to be fed in the pen shall be impacted negatively in terms of
weight, quality, and yield grade. The pens morbidity shall be
updated negatively as well.
3. A head of cattle dies: The cow shall be removed from the game,
and the pens mortality shall be updated negatively as well.
4. The pen has no cattle: This pen shall be skipped by the server.
7
Constraint(s): Priority: Required
Fault Tolerance: N/A
Other Use Case(s): N/A
8
A Appendix A: User Interface
A.1 Use Case: 3.1 - View Pen Status
Normal operation.
9
The player manages no pens.
10
The player has a pen with no cattle.
11
A.2 Use case: 3.2 - View Individual Cow Status
Normal operation.
12
A.3 Use case: 3.3 - View Ration Market
Normal operation.
13
No rations are available.
14
A.4 Use case: 3.4 - Purchase Ration
Normal operation.
15
The player has insufficient funds to complete the transaction.
16
The player has not selected a ration from the list.
17
The player has not provided a non-negative integer for the quantity to purchase.
18
There are no rations available for purchase.
19
A.5 Use case: 3.5 - View Ration Inventory
Normal operation.
20
The player has no rations in inventory.
21
A.6 Use case: 3.6 - View Current Feeding Plan
Normal operation.
22
No active feeding plan exists.
23
A.7 Use case: 3.7 - Change Feeding Plan
Normal operation.
24
The player has not selected a ration.
25
The player has not selected a pen.
26
The player has no rations in inventory.
27
The player does not manage any pens.
28
B Appendix B: Initial Tasks and Role Assignment
B.1 Initial presentation assignments
• Requirements - Cooper McClain
29