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;...
-
Five administrative assistants use an office copier. The average time between arrivals for each assistant is 40 minutes, which is equivalent to an arrival rate of 1/40 = 0.025 arrival per minute. The...
-
Can we infer that Republican Party supporters earn more income (INCOME) than do Democratic Party supporters?
-
Define a security. Distinguish between debt and equity securities.
-
1. Develop a monthly cash budget for James Confectioners for the upcoming year. 2. What recommendations can you offer Telford and Ivey James to improve their companys cash flow? 3. If you were...
-
JACKSON HAS THE FOLLOWING INFORMATION PERTAINING TO A LONG TERM PROJECT ACCOUNTED FOR UNDER THE PERCENTAGE OF COMPLETION METHOD: CONTRACT PRICE 850,000 2018 COSTS TO DATE 292,500 2018 ESTIMATED...
-
ATV Co. began operations on March 1 and uses a perpetual inventory system. It entered into purchases and sales for March as shown in the Tableau Dashboard. Legend No Purchases or Sales Purchases...
-
please help! Calculating Taxable Income Using the previous tax table, compute the tax hability for the individual in the scenanio presented, rounding the habilty to the nearest dollar. In. addition,...
-
After reviewing the class materials from weeks one and two, students should identify three different ideas to improve a process that is in desperate need of improvement. The ideas identified should...
-
1. The central bank of the U.S, the Fed was established in 1913. Briefly explain the following: a. Why was the Fed established? b. What are the Fed's goals? c. What does it mean to say that the Fed...
-
A worker and his co-worker were carrying and installing solar panels on the roof of a warehouse. The roof contained skylights that were marked by the manufacturer as "TESTED" in accordance with OSHA...
-
Egypt was at the center of the storm of the revolutionary activity among Arab nations in the Middle East in 2011-12 and beyond, the Arab Spring Uprisings. Present a factual report and analysis of the...
-
Historically the appreciation rates for different asset classes are not the same. Averaged over the past 40+ years, US stocks grew about 13.8% per year, real estate about 12.5%, foreign stock about...
-
1.a. Describe the difficulties that could be encountered if a chosen career did not include the characteristics of your Holland Code? 1.b. Discuss how mental wellness impacts career choice and how...
-
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...
-
The balance sheet of Tatters Ltd on 31 December 2008 was as follows: The dividend on the preference shares is 12,000 in arrears. A scheme of reconstruction was accepted by all parties and was...
-
In preparing its accounts for the year to 31 May 2007, Whiting plc had been faced with a number of accounting problems, the details of which were as follows: (i) The company had closed down its...
-
The ledger balances of Tick Tick Ltd at 31 March 2011 were as follows: A capital reduction scheme has been sanctioned under which the 250,000 preference shares are to be reduced to 80p each, fully...
Study smarter with the SolutionInn App