Functional requirements (Game skeleton) As this is a programming assessment and not a game design one,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Functional requirements (Game skeleton) As this is a programming assessment and not a game design one, here is a game skeleton to guide you in the creative part. You need to follow it (scenes +detailed functional requirement) it but, you may add a few extra steps (there is an example of an optional action) and/or change the order of scene/actions. Scenes Detailed Functional Requirement Introduction Scene 1 Show text Get player name Show text Example [optional keep asking action] Keep asking action (include end game choice) Show text Show game name Choose weapon, characteristic, etc Show text (with player name and weapon Show player name and deck or characteristic, etc.) Get Player name Choose deck Show arriving at home Phone ringing (pick up phone) Jacques offers (reject => ends game) Watch stream etc Scene 2 Scene 3 Ending Show text Combat (repeating action) Show text Show text Multiple combats (repeating serie of actions) Show text Show text Action Show text Arrive on site Hack gateway Open the door wait... team at safes Hack multiple safes all boxes opened something is beeping Handle fallback Crime never pays . Action Show text • string • list Extra explanation • Show text: the program only shows some text to the user • Get player name: the program shows some text asking the user to choose a name and records it for later use • Choose weapon, characteristic: the program propose a choice to the user (show some text + record the choice for later use) Keep asking action: the program keep asking the user to make a choice until the right one is chosen (example: pick up the phone) or the player took too much time (example: fallback) Combat: the program presents the user with a choice of actions to resolve a combat (or equivalent) several times (example: hack gateway) • Multiple Combats: a series (more than 1) of similar combat (example: hack multiple safes) Concept requirements (see also the marking rubric) Handle fallback Your code must feature and make use of the following elements (at least of one of each): • Declare/define and use variables of types: • int • float • Ask the user to enter a string • Ask the user to enter an int or a float Crime never pays • Use a simple loop • Use a Nested loop • Any int/float requested to the user needs to be converted to the proper type (int/float) • Prevent crashes in any situation (thus make sure you test your program) And handle at least one case of unexpected type of user input Have a conditional with at least 4 alternatives (It can be nested or chained conditionals) In practice, "if-elif-elif-else" or "if-else (if-else (if-else))"' will do • Use 'and' or 'or operator to combine variables in a condition • Use functions Coding and commenting convention • Program is a Python3 one and executable (and without crash). • Variable naming must follow the convention given in class • At least 3 letters long, multiple world are connected with underscore "_", no camel case (Like This ForExample) • Valid (no Python keyword) and not too close to a Python keyword/datatype (for example avoid: "integer") • Meaningful, relevant and easy to understand/guess • Sufficient and explanatory (meaningful) comments must be provided in any of the following component • loop (any nested loop needs to be commented separatly) 。 function • block of code (that is not a loop or a function) • 'complicated' line of code (for example: mathematical formula, several operations within a line, etc.) Functional requirements (Game skeleton) As this is a programming assessment and not a game design one, here is a game skeleton to guide you in the creative part. You need to follow it (scenes +detailed functional requirement) it but, you may add a few extra steps (there is an example of an optional action) and/or change the order of scene/actions. Scenes Detailed Functional Requirement Introduction Scene 1 Show text Get player name Show text Example [optional keep asking action] Keep asking action (include end game choice) Show text Show game name Choose weapon, characteristic, etc Show text (with player name and weapon Show player name and deck or characteristic, etc.) Get Player name Choose deck Show arriving at home Phone ringing (pick up phone) Jacques offers (reject => ends game) Watch stream etc Scene 2 Scene 3 Ending Show text Combat (repeating action) Show text Show text Multiple combats (repeating serie of actions) Show text Show text Action Show text Arrive on site Hack gateway Open the door wait... team at safes Hack multiple safes all boxes opened something is beeping Handle fallback Crime never pays . Action Show text • string • list Extra explanation • Show text: the program only shows some text to the user • Get player name: the program shows some text asking the user to choose a name and records it for later use • Choose weapon, characteristic: the program propose a choice to the user (show some text + record the choice for later use) Keep asking action: the program keep asking the user to make a choice until the right one is chosen (example: pick up the phone) or the player took too much time (example: fallback) Combat: the program presents the user with a choice of actions to resolve a combat (or equivalent) several times (example: hack gateway) • Multiple Combats: a series (more than 1) of similar combat (example: hack multiple safes) Concept requirements (see also the marking rubric) Handle fallback Your code must feature and make use of the following elements (at least of one of each): • Declare/define and use variables of types: • int • float • Ask the user to enter a string • Ask the user to enter an int or a float Crime never pays • Use a simple loop • Use a Nested loop • Any int/float requested to the user needs to be converted to the proper type (int/float) • Prevent crashes in any situation (thus make sure you test your program) And handle at least one case of unexpected type of user input Have a conditional with at least 4 alternatives (It can be nested or chained conditionals) In practice, "if-elif-elif-else" or "if-else (if-else (if-else))"' will do • Use 'and' or 'or operator to combine variables in a condition • Use functions Coding and commenting convention • Program is a Python3 one and executable (and without crash). • Variable naming must follow the convention given in class • At least 3 letters long, multiple world are connected with underscore "_", no camel case (Like This ForExample) • Valid (no Python keyword) and not too close to a Python keyword/datatype (for example avoid: "integer") • Meaningful, relevant and easy to understand/guess • Sufficient and explanatory (meaningful) comments must be provided in any of the following component • loop (any nested loop needs to be commented separatly) 。 function • block of code (that is not a loop or a function) • 'complicated' line of code (for example: mathematical formula, several operations within a line, etc.)
Expert Answer:
Answer rating: 100% (QA)
Answer requirements and functionalities outlined in the question python Importing necessary modules Define global variables Define functions Function ... View the full answer
Related Book For
Ethical Obligations And Decision Making In Accounting Text And Cases
ISBN: 9781264135943
6th Edition
Authors: Steven Mintz
Posted Date:
Students also viewed these general management questions
-
On page 188 there is an example of how a hybrid costing system might be designed for a large-scale bicycle manufacturer. Select another industry and explain how a hybrid costing system could be...
-
Multiple Choice Questions 1. An insurance company offers doctors malpractice insurance. Assume that malpractice claims against careful doctors cost $5,000 on average over the term of the policy and...
-
Multiple Choice Questions: 1. When may Certified Fraud Examiners include an opinion of guilt or innocence in their fraud reports? a. Only when there is a clear-cut signed and properly obtained...
-
"A 10% uniaxial tensile strain has been applied to a mouse tail tendon fascicle. Using Davis and De Vita's nonlinear viscoelastic model, plot the change in axial stress over time. Given: c1=20.3 MPa;...
-
What methods does a social engineering hacker use to gain information about a users login id and password? How would this method differ if it were targeted towards an administrators assistant versus...
-
A company's Cash account has a balance of $851 as of October 31. The bank statement for this account reports a balance of $1,520 as of October 31. There are outstanding checks totalling $840 and a...
-
What type of documents can be obtained through document requests?
-
Kawmin is a small country that produces and consumes jelly beans. The world price of jelly beans is $1 per bag, and Kawmins domestic demand and supply for jelly beans are governed by the following...
-
QUESTION ONE: (30 MARKS) a) International relations play a central role in promoting peace in the world. Discuss strategies that the United Nations(UN) as an institution has put in place to justify...
-
Problem 9 (50 Points) An air-cooled aluminum heat sink is used to keep electronics cool (see image and diagram). The cooling requirements are being significantly increased. To increase the rate of...
-
The manager of a grocery store has taken a random sample of 100 customers. The average length of time it took the customers in the sample to check out was 3.1 minutes with a standard deviation of 0.5...
-
An inline filter has an estimated life of 9 years. By adding a purifier to the filter, savings of \(\$ 300\) in annual operating costs can be obtained. Annual interest on capital is 8 percent....
-
Determine whether the polynomials below can be the denominator of a causal stable filter: (a) \(z^{5}+2 z^{4}+z^{3}+2 z^{2}+z+0.5\) (b) \(z^{6}-z^{5}+z^{4}+2 z^{3}+z^{2}+z+0.25\) (c) \(z^{4}+0.5...
-
Reconsider Problem 34. Determine which machine should be recommended based on an incremental present worth analysis. Data from problem 34 DelRay Foods must purchase a new gumdrop machine. Two...
-
Delta Dawn's Bakery is considering purchasing a new van to deliver bread. The van will cost \(\$ 18,000\). Two-thirds \((\$ 12,000)\) of this cost will be borrowed. The loan is to be repaid with four...
-
If a digital filter has transfer function \(H(z)\), compute the steady-state response of this system for an input of the type \(x(n)=\sin (\omega n) u(n)\).
-
For the reaction below show the full mechanism including the transition state, and explain why an electron donating group may not be effective at the hydrogen atom transfer o N-or
-
What is the expected payoff of an investment that yields $5,000 with a probability of 0.15 and $500 with a probability of 0.85? Select one: O a. $325 O b. $5,500 O c. $2,750 O d. $1,175
-
Given the requirements of the Dodd-Frank Act to receive an award, what factors should a potential whistleblower consider before blowing the whistle to the SEC on financial wrongdoing from an ethical...
-
What is the purpose of using financial analysis to spot earnings management?
-
Barbara Houston is a CPA with her own accounting and tax practice. One day an audit client asks her to represent him in a conference with the IRS about his prior years tax return. It seems the IRS is...
-
A Laplacian operator is given by a. \(\frac{\partial^{2}}{\partial x \partial y}\) b. \(\frac{\partial^{2}}{\partial x^{2}}+\frac{\partial^{2}}{\partial y^{2}}+2 \frac{\partial^{2}}{\partial x...
-
A cable of length \(l\) and mass \(ho\) per unit length is stretched under a tension \(P\). One end of the cable is connected to a mass \(m\), which can move in a frictionless slot, and the other end...
-
Fill in the Blank. The quantities \(E I\) and \(G J\) are called the ___________ and ____________ stiffnesses, respectively.
Study smarter with the SolutionInn App