Question: Hello, I am trying to write a game that involve 5 players. The game has 4 outcomes for rolling. One dot on a roll is

Hello, I am trying to write a game that involve 5 players. The game has 4 outcomes for rolling. One dot on a roll is one poiNt, two dot on die is two points, three dot is 3 points, and 4 dots = 4 points. The score to win is 50 points. The characters are a c pointer string for instance const char *people[4]{"Bob", "Jack", "Mitch", "Tom", "Alek"}. So 1 point is the front, 2 points is the side, 3 points is the back, 4 points is the bottom, and this is written as const rolled Current[4] = {Font. Side, Back, Bottom}; This program uses a seed that generates the role but I am having an issue on iterating through a const char pointer to go through the names and what not

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!