Question: In a header file named 'UnoDeck.h' within the namespace LB3 define a Card pointer function named BuildUnoDeck() that takes no parameters. It must return a
In a header file named 'UnoDeck.h' within the namespace LB3 define a Card pointer function named BuildUnoDeck() that takes no parameters. It must return a dynamic array of Card objects that represent an Uno deck. Use 'R', 'Y', 'B', 'G' and 'K' for the suits red, yellow, blue, green and black respectively. And use 'T', 'R', 'S', 'W', and 'F' for the symbols draw 2, reverse, skip, wild, and wild draw 4 respectively, and for the other symbols use their respective digit. An Uno deck consists of 108 cards. Each color suit except for black contains 25 cards; one 0, and two sets of 1 - 9, draw 2, reverse, and skip. And there 4 each of wild and wild draw 4 all in the black color suit.
C++ Programming Please
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
