Question: Functional requirements (Game skeleton) As this is a programming assessment and not a game design one, here is a game skeleton to guide you

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 

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.)

Step by Step Solution

3.49 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Answer requirements and functionalities outlined in the question python Importing necessary modules Define global variables Define functions Function ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!