Question: may you please help me code this in c + + ? please see picture Goal of the game is to update or set a
may you please help me code this in c
please see picture
Goal of the game is to update or set a board number to
Game will consist of or more players
Each player will be given a game number between
Your player may select their game number
Other players' game numbers are randomly chosen
Each turn a player may add their game number to a board number
Your player will select the board number
Other players will select a board number that would make or randomly if not possible.
Each selection to a board number will increase its value
If adding that number equals that player receives a point, and the board number resets to
If the board number exceeds the board number will then change to a number between
For example, if the board number was and the game number added was the board number will change to instead of
If the board number was and game number was the board number will change to instead of
Here are the possible scenarios:
changes to
changes to
changes to
changes to
changes to
The first player to receive points wins!
How many players:
Please enter your nane: boh
Please select a game number from :
Name: Bob
Score:
Gane Number:
Name: P
Score:
Game Number:
Name: P
Score:
Game Number:
Name: Bob
Please select a position on the board:
Bob Updated position to
P SET on position Point!
P Updated position to
Name: P
Score:
Game Number:
Name: P
Score:
Game Number:
Score:
Game Number:
Positions: quadquad
Please select a position on the board:
Name: Bob
Name: P
Name: P
then on the board:
Score:
Score:
Score:
Game
Number:
Game
Number:
Game Number:
Positions:
Please select a position on the board:
Bob SET on position Point!
P Updated position to
P Updated position to
Name: Bob
Score:
Game Number:
Name: P
Score:
Game Number:
Name: P
Score:
Game Number:
BOB WINS!
Program should include the following:
Implement encapsulation and abstraction
Documentation explaining how your program works.
Submit all h and cpp files with your code and comments.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
