Question: Write a program in c++ to create a similar version on candy crush: To start the game, you will display an introductory message, implemented as

Write a program in c++ to create a similar version on candy crush: To start the game, you will display an introductory message, implemented as a function, which will give details about the game. You will declare a two-dimensional array in main() to represent the 9 x 9 board as an enum type to represent the various values that a position on the board may assume. You will declare a global constant for the size of the 2D array (where rows = columns). Each position on the board may be displayed as one of the following six values (corresponding to their enumerated data type) as follows: ! exclamation point " double quote # hashtag $ dollar sign % percentage & ampersand Note that these six characters can be found on the ASCII Table having continuous values between 33 and 38, inclusively. The enum for the data type of the board will be declared as a global enumerated data type. You will initialize the board using a function, passing in the two-dimensional array and size (i.e., number of rows). This function will randomly initialize each position on the board to one of the 6 character values. You must make sure to seed the random number generator.

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