C++作业代写 C++编程代写 C++程序代写
| Foundations of C++ Assignments 2 and 3 – Pairs Card Game |
| MCD4720 - Fundamentals of C++ Assignment 2 and 3 - Trimester 1, 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.
1 |
| Foundations of C++ Assignments 2 and 3 – Pairs Card Game |
| Late submission:
2 |
| Foundations of C++ Assignments 2 and 3 – Pairs Card Game |
| Submission Instructions: This project will be submitted in two parts: 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. 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 tasks, including object-oriented design and implementation and the use of Pointers
3 |
| 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. 4 |
| Foundations of C++ Assignments 2 and 3 – Pairs Card Game |
| Assignment 2: Pairs (Part A) You are to implement a computer-based variant of the card game Pairs. This is a card game for 2-8 players. The basic game of Pairs is a simple press-your-luck game with no winner, just one loser. Players score points by catching pairs, or by folding. The first player with too many points is the loser! You can watch a video on how to play here: https://www.youtube.com/watch?v=bq7Em3p7oS0 or https://www.youtube.com/watch?v=rcV45WyiWqs or online rules here: https://cheapass.com/wp-content/uploads/2018/02/PairsCompanionBookWebFeb2018.pdf In your version, for the basic assignment you only need to implement a 2-player game. For Part A (Assignment 2) of the assignment you will focus on the planning of the project. In Part B (Assignment 3) you will focus on creating the various interactive objects in the game and program the player interactions. Basic Game Play: In this program, the computer (dealer) controls a triangular deck of cards. The deck is made up of 1x1, 2x2s, 3x3s, all the way up to 10x10s, making a deck of 55 cards. This is NOT a standard deck of playing cards. The basic game play is as follows:
▪ Example: In the diagram at right, Player A is dealing. She shuffles the deck and burns five cards into the middle. She then deals one card to each player, face up. Player D will go first because she has the lowest card, a 6.
5 |
