-Set number of players -Shuffle deck -Play multiple games -have computers make i
ID: 3611284 • Letter: #
Question
-Set number of players
-Shuffle deck
-Play multiple games
-have computers make intelligent game decisions
-Choose whether set is 2 or 4 cards before game
-Choose whether to play in a tournament of games or a singlegame
any outline or any classes would be appreciated greatly as wellas working code (or close to working) or the whole project. If someone could detail a layout for how i should go aboutaccomplising this game would also be very helpful.
Explanation / Answer
#include #include #include #include #include #include using namespace std; int main () { int human = 1; int scores[4]; char names[4][20]; int deck[4][13]; int current = 1; enum asuit {hearts=1,diamonds,clubs,spades} suit; enum acard{ace=1,two,three,four,five,six,seven,eight,nine,ten,jack,queen,king}card; coutRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.