Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions

Question

Which of these influenced your life most dramatically?

Answered: 1 week ago

Question

What roles have these individuals played in your life?

Answered: 1 week ago