Question: C++ Gin Rummy Develop a game where the computer (that is your program) plays Ginrummy against a human opponent. The rules of Gin rummy are
C++
Gin Rummy Develop a game where the computer (that is your program) plays Ginrummy against a human opponent. The rules of Gin rummy are described in the Wikipedia.You can implement any version of the game, although youare strongly encouraged to initially work on simpler versions of the game first. You will work in groups of 3 on this project. The project consists of the following milestones: Milestone 1 (Learn the game): Play the game manually to get a feel of the game. Remember, that unlessyou know how to play the game yourself, you cannot write a program that allows the computer to playthe game!
Milestone 2 (Overall Design): Determine which of the following you will need -
1) Classes
2) DataStructures
3) Algorithms. As an example, you could have a "Card" class to represent different suites andranks; data structures to hold stock pile, discard pile, and player hands; and algorithms to identify melds,and deadwood.
Milestone 3 (Implementation): Implement and test each of the classes individually. Note: All your codeshould be organized as separate files - that is, class declarations in headers (.h), and definitions.
Milestone 4 (Integration): Integrate all components and test the final game.
Milestone 5 (Testing) Note: You may have to iterate over the milestones. For example, if the integration causes issues, it's possible you may need to revisit Milestone 2. Project management You are strongly encouraged to use a version control system in the project. Version controlsystems are a category of software tools that help a software team manage changes to source code overtime. Version control software keeps track of every modification to the code in a special kind ofdatabase. If a mistake is made, developers can turn back the clock and compare earlier versions of the code to help fix the mistake.
If you are using an IDE (Codeblocks, Netbeans etc.), use the Project features of your IDE to organize yourcode.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
