Question: may you please help me code in c + + ? please use provide code in main provide header and . cpp files do not
may you please help me code in c
please use provide code in main
provide header and cpp files
do not use ai to code
Board Class must be used in your project
Board class will require additions andor modifications
Submit h and cpp files with documentation in a zip file
Include comments in codepts
Details explaining how your code works
Include Project Report pagespts
Details how you solved specifications in your program
Any topics used not discussed in the class can be documented in detail here:
What topic was used and why?
What alternatives could you have used from the class?
Something you enjoyed
Something you struggled with
Program Specifications and Correctness Test Cases:
Object oriented methodologies are implemented with separate header and implementation files pts
Abstraction, Encapsulation, Inheritance, and Polymorphism
Board is created using numbers provided from a text file pts
User is able to select spaces on the board pts
CPU and CPU can select spaces on board using steps provided pts
Board spaces cannot be selected multiple times during a game by any player pts
Board spaces selected are updated to include their value pts
Player scores are updated after each round pts
Board information max value, spaces remaining, and sum are updated after each round pts
Bonuses are applied correctly to player selections when able pts
The following specials are implemented into the game:
Scatter pts
Precision pts
Random Precision pts
Linear pts
Each player can implement at special move during the game pts
CPU players use specials based on project requirements pts
Game ends when a player's score reaches pts
Rules:
Game will consist of players User CPU and CPU
Each player starts with a score of zero and must capture spaces on the board to reach
Each turn a player will select new spaces on the board. These spaces are revealed and captured
meaning they can no longer be selected.
The sum of the spaces captured are calculated and added to the player's score.
The first player to reach wins!
Board:
The board will start with all symbols which indicate available spaces.
Spaces captured should reveal the number at that space.
Numbers are assigned to each space on the board ranging from
Each round of player moves the board will display the sum, max, and spaces remaining using spaces
not captured by a player. This will change after each round
The dimensions of the board will be determined based on the number of numbers provided in the text
file. Examples A file with numbers should create a xx board. A file with numbers should
create a board. I recommend using at least a board for better testing
Players Standard Moves:
PlayerUser Player will capture spaces on the board via input.
Enter a row:
Enter a colunn; B
Enter a row:
Enter a colunn:
Enter a row:
Enter a colunn:
PlayerCPU Player will capture spaces on the board randomly.
PlayerCPU Player will capture spaces on the board by selecting the earliest available spaces on
the board.
For example: spaces labeled blue are captured by Player Spaces labeled gray were spaces
already captured. Player will always select the earliest spaces available on the board and skip
spaces already captured.
Bonus Points For Player Moves:
Players will receive bonus points based on the numbers captured each turn.
If a player captures duplicates of a number their total sum that turn is doubled
If a player captures numbers that increase or decrease in the order selected, their total sum that turn is
doubled.
For example:
If the numbers in order captured are and this would be a sequence bonus.
If the numbers in order captured are and this would also be a sequence bonus.
If the numbers captured are and this would be a duplicate bonus.
Frank Numbers Selected:
Nunbers Match!! Points x
CPU Numbers Selected:
Nunbers Decrease Sequentially!! Points x
CPU Numbers Selected:
No Bonus This Turn
Special Moves:
Each player will have a special ability to capture multiple spaces at once. Bonuses will not be applied
when using a special.
Each player will have special for the game.
Each player will have the following specials:
Player Scatter, Precision, and Linear
Player Random Scatter
Will use their special if their score is less than
Player Random Precision
Will use their special if their score is greater than
Scatter:
Capture random locations on the bnard.
Precision:
Conquer positions on the board based on a starting location. The user will provide a location as the
center point for the special. The special will conquer adjacent spaces based on a xx area.
Random Precision will randomly select the center point as well as the area size. The random area size
will also be xx
Linear:
Conquer spaces using a horizontal, vertical, or diagonal strike.
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
