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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started