Question: C++ Programming Kniffel Hello, can somebody help me with this task I would need a finished, running program to compare. Task: You should realize an
C++ Programming Kniffel
Hello, can somebody help me with this task
I would need a finished, running program to compare.

Task:
You should realize an object-oriented simulation of the dice game 'Kniffel' and with this simulation some statistical ones
Investigate questions. (Note: you don't need to know the game to do this. Everything you know
must, is in this assignment.) Use the class KniffelGame and the supporting class
FiveDice (see class diagrams):
The application program (main) should carry out the following actions in sequence (i.e. no menu should be implemented
will):
Ten repetitions of the following actions:
o Generation of a FiveDice object, call of sort, output of the sorted values,
o Call of unique and output of the values now saved in the FiveDice object. In addition, the
Index of the first value after the sorted part (without repeated values) is output
will.
Roll five dice 1,000,000 times and answer the following statistical questions:
o Save the frequencies of the possible dice sums from 5 to 30 in a suitable container
and then
output as numerical values in the form of a table,
and as a simple graphic representation in the form of a bar chart tilted by 90 degrees
(e.g. output corresponding number of *). Here is a suitable standardization
be careful so that the number of asterisks for the greatest frequency value is a console line
fills in well.
o Counting the number of times Small Straight, Full House, Big Straight, and Kniffel are thrown.
Enter the values obtained both as absolute numerical values (example: "At 1 000 000 litters were
38580 full house thrown ") as well as relative frequencies in percent (example:" 3,858 percent
the throws were full house ").
KniffelGame FiveDice - fiveDice Sorted: FiveDice fiveDiceUnique: FiveDice firstIndexOut: size_t + KniffelGame () + rollAndProcess(): void + fullHouse (): bool + smallStreet(): bool + bigStreet(): bool + kniffel (): bool dice: array
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
