代做留学生C/C++作业、C/C++ Foundations课程、代做C/C++程序、C/C++作、帮写C/C++语言程序、C/C++语言代做留学生


Foundations of C++
Assignment 2 – Text Adventure (Part B)
Due Date: Friday 14th September 2018
Weighting: 15% of your final mark for the unit
Submission Instructions:
A zip file containing your Visual Studio project and any associated documentation files (readme,
if required) must be compiled and uploaded to the Moodle site. Your code MUST be submitted as
a Visual Studio project to facilitate ease of assessment and feedback.
Task Details:
This assignment consists of one main programming task. The purpose of this assignment is to
get you comfortable with designing and implementing basic multi-class C++ programs. The task
is detailed later in this assignment specification, as are the specific marks allocation.
Successful completion of the fundamentals of the task as described may obtain you up to a
maximum of 80% of the total assignment marks. The last 20% of the mark will be allocated to
additional functionality that you can design. This provides an opportunity for you to implement a
feature of your choice and ensures that each student submission is suitably different. The
additional functionality should demonstrate advanced or more complex application of principles
covered to date. It need not be large amounts of work but should demonstrate a willingness to
explore new and advanced concepts. You MUST detail what you have done in an accompanying
“readme” file, otherwise markers may not be aware of the extra work undertaken.
The assignment must be created and submitted as a Visual Studio 2017 project. You may
complete the exercises in your preferred IDE, however you should create a Visual Studio project
in order to submit. Your project folder must be identified by using your name and assignment
number, such as YourNameA2. The entire project folder must then be zipped up into one zip file
for submission. The zip file MUST be named “FIT1048-AA2-YourAuthcateID.zip”. This zip file
must be submitted via the Moodle assignment submission page. Note: to reduce the file size of
your zip, you can delete the “ipch” folder from your project before zipping without affecting your
program.
Explicit assessment criteria are provided, however please note you will be assessed on the
following broad criteria:
? Meeting functional requirements as described in the exercise description
? Demonstrating a solid understanding of object-oriented design and C++ coding, including
good practice
? Following the unit Programming Style Guide
? Creating solutions that are as efficient and extensible as possible
NOTE! Your submitted program MUST compile and run. Any submission that does not compile
will be awarded zero marks. This means you should continually compile and test your code as
you do it, ensuring it compiles at every step of the way.
If you have any questions or concerns please contact Cheryl as soon as possible.
Foundations of C++
Assignment 2 – Text Adventure (Part B)
Assignment Task: Text Adventure (Part B)
You are to complete the text adventure you started in Assignment 1 by adding in the additional
interactivity and functionality of the player, including the people (victim, murderer and suspects)
and items that could be potential weapons.
Your completed Text Adventure must demonstrate the following:
? The player (Investigator) must have greater functionality. At the prompt (eg: “What now? “),
they should be able to input 1 or 2 word commands using the VERB NOUN format where
VERB = the player’s action and NOUN = the person/place/thing to interact with.
? For example “What now? GOTO KITCHEN” would display the location description of the
kitchen. If a suspect is also in the location that information should also be displayed.
? Other 2-word actions the player can do may include: search, take, drop examine,
question, accuse, and any others relevant to your game.
? Single word commands are also allowed, such as: map, help, gather, and quit.
? All commands permitted must be processed appropriately.
? The suspects in the game should have the following characteristics:
? A unique name, description and a starting location.
? Status as the victim, murderer or a suspect (the murderer is also a suspect but guilty)
? As a minimum, all suspects need to have an alibi.
? Two pairs will alibi each other, one suspect (not the murderer) will be alone and the
murderer will randomly select one of the other suspects as an alibi.
? For example: Anna and Bob alibi each other (which can be confirmed by questioning
them), Colin and Daisy alibi each other, Eric was alone and Fiona (the murderer) says
that she was with one of the others.
? Any other attributes and abilities would be classed as “extra functionality”.
? In order to “win” the game the player must be able to do the following:
? Identify the murderer by checking all suspects alibis (to confirm or disprove as true).
? Find and collect the bloodied murder weapon (located in a random location of the map).
? Find the bloodied crime scene and gather the murderer and all the suspects there.
? Accuse the person they think committed the crime:
? If they have the correct murder weapon, have found the correct location and have
accused the actual murderer, the player wins.
? If one, some or all of the above are not correct, the player loses and the murderer
escapes!
? You MUST implement your program using the following classes (as a minimum, you may
include more if appropriate):
? Suspect class: holds details of the various people in game including a name, location,
status, alibi
? Item class: consists of the name, location, description and status (weapon or not) of the
item, etc.
Extra Functionality
The marking criteria indicates that you should make some individual additions to this in order to
achieve the final 20% of the mark. This is up to you, however could include such features as (but
is certainly not limited to):
? The player has a time limit in which to solve the murder where each move the player makes
reduces the time by 3-5 minutes.
Foundations of C++
Assignment 2 – Text Adventure (Part B)
? Allow the suspects to randomly move around the locations after a random number of player
turns.
? Include a motive for why the victim was killed which also has to be identified to win.
? The player has a skill level (eg: Detective, Senior Detective and Detective Inspector) which
modifies the parameters of the game (time limit, number of suspects, etc.).
? Add “red herrings” to throw the player of the trail of the murderer.
? Add more suspects and have the murderer become a serial killer.
You certainly do not have to implement all of the above to earn marks for extra functionality. One
or two implemented well would be more than enough to demonstrate advanced or more complex
application of principles covered to date.
It is up to you!http://www.daixie0.com/contents/13/1695.html
Assignment 2: Marking Criteria [up to 50 marks in total]
Does the program compile and run? Yes or No
? Zero marks will be awarded for a non-compiling program.
Class Design [8]
? Suspect Class [4]
? Required data members and member functions
? Contains only aspects that relate to a “Suspect” (has no data members or member
functions that are not directly related to a Suspect)
? Item Class [4]
? Required data members and member functions
? Contains only aspects that relate to an “Item” (has no data members or member functions
that are not directly related to an Item)
Functionality [25]
? Game set up, including creating the suspects and items, placing them in a random location,
storing the solution to the “case”, etc. [6]
? Appropriate game dialog and player interaction [3]
? Implementation of suspect alibis [3]
? Implementation of the murder weapon and crime scene [2]
? Implementation of successful action processes [5]
? Appropriate display to the screen [4]
? End game condition [2]
Quality of Solution and Code [7]
? Does the program perform the functionality in an efficient and extensible manner? [2]
? Has a well-designed OO program been implemented? [3]
? Has the Programming Style Guide been followed appropriately? [2]
Extra Functionality [10]
? Does the program addition demonstrate advanced application of programming concepts [5]
? Does the program addition demonstrate functional creativity? [5]

因为专业,所以值得信赖。如有需要,请加QQ99515681 或邮箱:[email protected] 

微信:codinghelp

猜你喜欢

转载自www.cnblogs.com/phpcoding/p/9651886.html