Question: Write a C++ manager/worker program to study various strategies for playing the card game called twenty-one. This must be implemented as a multiprocess application .
Write a C++ manager/worker program to study various strategies for playing the card game called twenty-one. This must be implemented as a multiprocess application. The manager process is the dealer. The worker processes are the players. At least two player processes must be implemented and each must have a unique strategy detailed in the report. Run at least one thousand trials, each with a freshly shuffled deck. Report the number of times the dealer and each player wins. Please use a lot of comments so I can read / understand the code as well as strategies used while coding. Please implement code different to those already posted (they do not work).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
