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 and/or modifications
Submit .h and .cpp files with documentation in a .zip file
*Include comments in code*(10pts)
- Details explaining how your code works
*Include Project Report (1-2 pages)*(10pts)
- 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 (5pts)
- Abstraction, Encapsulation, Inheritance, and Polymorphism
- Board is created using numbers provided from a text file (10pts)
- User is able to select spaces on the board (5pts)
- CPU1 and CPU2 can select spaces on board using steps provided (10pts)
- Board spaces cannot be selected multiple times during a game by any player (5pts)
- Board spaces selected are updated to include their value (5pts)
- Player scores are updated after each round (5pts)
- Board information (max value, spaces remaining, and sum) are updated after each round (5pts)
- Bonuses are applied correctly to player selections when able (10pts)
- The following specials are implemented into the game:
- Scatter (5pts)
- Precision (5pts)
- Random Precision (5pts)
- Linear (10pts)
- Each player can implement at 1 special move during the game (5pts)
- CPU players use specials based on project requirements (5pts)
- Game ends when a player's score reaches 100(5pts)
Rules:
Game will consist of 3 players (User, CPU1, and CPU2)
Each player starts with a score of zero and must capture spaces on the board to reach 100.
Each turn a player will select 3 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 100 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 1-9.
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 25 numbers should create a 5xx5 board. A file with 100 numbers should
create a 1010 board. (I recommend using at least a 1010 board for better testing)
Players / Standard Moves:
Player1(User)- Player1 will capture spaces on the board via input.
Enter a row: 0
Enter a colunn; B
Enter a row: 1
Enter a colunn: 1
Enter a row: 2
Enter a colunn: 2
Player2(CPU1)- Player2 will capture spaces on the board randomly.
Player3(CPU2)- Player3 will capture spaces on the board by selecting the earliest available spaces on
the board.
For example: spaces labeled blue are captured by Player3. Spaces labeled gray were spaces
already captured. Player3 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 1,2, and 4 this would be a sequence bonus.
If the numbers in order captured are 7,6, and 3 this would also be a sequence bonus.
If the numbers captured are 5,9, and 5 this would be a duplicate bonus.
Frank Numbers Selected: 311
Nunbers Match!! Points 2x
CPU1 Numbers Selected: 983
Nunbers Decrease Sequentially!! Points 2x
CPU2 Numbers Selected: 176
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 1 special for the game.
Each player will have the following specials:
Player1- Scatter, Precision, and Linear
Player2- Random Scatter
Will use their special if their score is less than 50.
Player3- Random Precision
Will use their special if their score is greater than 50.
Scatter:
Capture 10 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 3xx3 area.
Random Precision will randomly select the center point as well as the area size. The random area size
will also be 3xx3.
Linear:
Conquer spaces using a horizontal, vertical, or diagonal strike.
may you please help me code in c + + ? please use

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 Programming Questions!