I have an assignment, need help
1 Foundations of C++ Assignments 2 and 3 – Pairs Card Game MCD4720 - Fundamentals of C++ Assignment 2 and 3 - Trimester 2, 2020 Assignment Submissions This project will be submitted in two parts. Both parts of the assessment are equally important for the successful completion of your project, so it is essential that you understand the requirements of both parts before you start. Assignment 2: Farkle (Part A: Project Plan) Due Date: August 1, 2020, August 8, 2020, 11:55PM (Week 6.2) Marks: This assignment will be marked out of 100 points. Weighting: 10% of your final mark for the unit. This assignment is the first part of a larger project, which you will complete in Assignment 3. This task consists of your project planning documentation. It will include details of the requirements & analysis of your program, including UML Class diagrams. The purpose of this assignment is to get you comfortable with planning a C++ programming project for Assignment 3. The task is detailed later in this assignment specification, as are the specific marks allocation. Assignment 3: Farkle (Part B: C++ Project Implementation) Due Date: September 4, 2020, 11:55PM (Week 10) Marks: This assignment will be marked out of 100 points. Weighting: 20% of your final mark for the unit. This assignment consists of your implementation of your project, as outlined in your Project Planning document (Assignment 2). Your project must follow your project plan and must be submitted as a Visual Studio project, including all header and .cpp files, and any appropriate text files to ensure the program compiles and runs. This assignment consists of one Application file and associated custom Class files. 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. 2 Foundations of C++ Assignments 2 and 3 – Pairs Card Game Late submission: • By submitting a Special Consideration Form or visit this link: https://lms.monashcollege.edu.au/course/view.php?id=1331 • Or, without special consideration, you lose 5 marks per day that you submit late (including weekends). Submissions will not be accepted more than 10 days late. This means that if you got Y marks, only (Y-n×5) will be counted where n is the number of days you submit late. Marks: This assignment will be marked out of 100 points, and count for 10% of your total unit marks. Plagiarism: It is an academic requirement that the work you submit be original. If there is any evidence of copying (including from online sources without proper attribution), collaboration, pasting from websites or textbooks, Zero marks may be awarded for the whole assignment, the unit or you may be suspended or excluded from your course. Monash Colleges policies on plagiarism, collusion, and cheating are available here or see this link: https://www.monashcollege.edu.au/__data/assets/pdf_file/0010/17101/dip-assessment-policy.pdf Further Note: When you are asked to use Internet resources to answer a question, this does not mean copy-pasting text from websites. Write answers in your own words such that your understanding of the answer is evident. Acknowledge any sources by citing them. https://forms.apps.monash.edu/frevvo/web/tn/monash.edu/u/614aac3c-8ab8-4309-9283-375663fa97d8/app/_86jlUBdoEeiMWO8cc5Na1A/form/18e068b9-db17-4062-9957-b392ffca97a4?typeId=_uSFSQParEemFyv5Ip1_2Eg&locale=en_US,eng_US,eng,en&embed=true https://lms.monashcollege.edu.au/course/view.php?id=1331 https://www.monashcollege.edu.au/__data/assets/pdf_file/0010/17101/dip-assessment-policy.pdf https://www.monashcollege.edu.au/__data/assets/pdf_file/0010/17101/dip-assessment-policy.pdf 3 Foundations of C++ Assignments 2 and 3 – Pairs Card Game Submission Instructions: This project will be submitted in two parts: Assignment 2 – Part A: consists of your project planning documentation. This document will include an outline of your program structure and UML Class diagrams. The assignment must be created and submitted as a single Word or PDF document to the Moodle site. This document must clearly identify both your Name and Student ID to facilitate ease of assessment and feedback. Your document file MUST be named as follows: “YourFistNameLastName_A2.docx” or “YourFistNameLastName_A2.pdf”. This file must be submitted via the Moodle assignment submission page. The document should contain the project plan and the UML diagrams. You can use Microsoft Visio to draw the UML diagrams or you can use any other software, provided that the diagrams are included in your submitted document. Explicit assessment criteria are provided, however please note you will also be assessed on the following broad criteria: ✓ Detail of a proposed project plan for the overall project. ✓ Creating accurate and complete UML diagrams. ✓ Applying a solid Object-Oriented Design (OOD) for the overall project ✓ Using appropriate naming conventions, following the unit Programming Style Guide. Assignment 3 – Part B: consists of your implementation of your game project. Your project must follow your project plan and must be submitted as a Visual Studio project, including all header and code files, and any appropriate text files to ensure the program compiles and runs. You may complete the tasks in your preferred IDE, however you MUST create a Visual Studio project in order to submit. Your project folder must be identified by using your name and assignment number, such as YourFirstNameLastNameID_A3. The entire project folder must then be zipped up into one zip file for submission. The zip file MUST be named “YourFistNameLastName_A3.zip”. This zip file must be submitted via the Moodle assignment submission page. Explicit assessment criteria are provided, however please note you will also be assessed on the following broad criteria: ✓ Meeting functional requirements as described in the assignment description ✓ Demonstrating a solid understanding of C++ concepts, including good practice ✓ Demonstrating an understanding of specific C++ concepts relating to the assignment tasks, including object-oriented design and implementation and the use of Pointers ✓ Following the unit Programming Style Guide ✓ Creating solutions that are as efficient and extensible as possible ✓ Reflecting on the appropriateness of your implemented design and meeting functional requirements as described in the assignment description 4 Foundations of C++ Assignments 2 and 3 – Pairs Card Game NOTE! Your submitted program MUST compile and run. Any submission that does not compile will automatically awarded a 50 marks penalty. This means it is your responsibility to continually compile and test your code as you build it. NOTE! Your submitted files must be correctly identified and submitted (as described above). Any submission that does not comply will receive an automatic 20 marks penalty (applied after marking). For assignment 3, your Visual Studio project should include all .cpp and .h files. If you have any questions or concerns please contact your tutor as soon as possible. 5 Foundations of C++ Assignments 2 and 3 – Pairs Card Game Assignment 2: Farkle (Part A) You are to implement a computer-based variant of the dice game Farkle. This is a dice game for any number of players. Each player is racing to reach a target score by removing scoring combinations of dice from a set of 6 dice. The first player to reach or exceed the target score is declared the winner! Any number of players may play, however, for the basic assignment you only need to implement one. You can watch a video on how to play here: https://www.youtube.com/watch?v=jBKdOF9tuog or even play an online version here: http://www.playonlinedicegames.com/farkle In your version, for the basic assignment you only need to implement a 1-player game. For Assignment 2 (Part A) of the assignment you will focus on the planning of the project. In Part B you will focus on creating the various interactive objects in the game and program the player interactions. Basic Game Play: In this program, you will control a set of six dice. On your turn, you must make as many scoring combinations (as outlined below) as you wish to score points towards the winning target score. The basic game play is as follows: One player is playing with themselves each time must track their own score and display their name and game score when required On your turn: ▪ Roll all six dice and set aside at least one die of a scoring value, (as shown below): Note you should follow the below scoring guidelines even the YouTube and the online game said something else. Combinations only count when made in a single throw. ▪ You may now decide whether to score your points and end your turn or you can re-roll the remaining dice. If you choose to roll again, you can keep rolling the dice, until you choose to stop or you roll no scoring values. Rolling no scoring values is called a FARKLE. If you roll a FARKLE, you score NO POINTS for this round and your turn ends. Pass the dice to the next player. If you set aside all 6 dice, you may re-roll all 6 dice and continue adding to your score, following all the rules above. The first player to score 10,000 or more points wins the game. However, for this assignment set a 5,000-point target score. There are many variations to this basic game, some of which you will be able to implement as part of the extra functionality for your assignment. Optional Rule https://www.youtube.com/watch?v=jBKdOF9tuog http://www.playonlinedicegames.com/farkle 6 Foundations of C++ Assignments 2 and 3 – Pairs Card Game A Typical Player Turn: During a player’s turn, the logic is as follows: 1) First, the player must roll all 6 dice to produce 6 random numbers from 1-6. 2) Next, they set aside at least one die that scores points (a single 1 or 5, or 3-of-a-kind).