Question: write a candy crush code in C++. it has to be console based only. Write the code restricting to very basic c++ syntax. make a

write a candy crush code in C++. it has to be console based only. Write the code restricting to very basic c++ syntax. make a 2D array and a 9x9 board must be made. use characters for instead of candies as graphics cant be used. At the start of the game the whole grid will be filled with new random candies. The user must be provided with swaping options so that he can swap two candies that slide in row or column of the grid. the target goal point and moves must be provided at the start of the game. the information of remaining moves ,target points and gained points must be updated.

STICK TO SIMPLE SYNTAX OF C++. DO NOT USE too advanced functions that are defined in the language.

decompose the whole program in functions.

1 crush plain candies

2 stripped candies

3 wrapped candies

4 color bomb

5 plain + stripped candy

6 plain + wrapped candy

7 color bomb + simple candy

8 color bomb + color bomb

9 stripped candy + color bomb

10 wrapped candy + color bomb

11 stripped candy + wrapped candy

12 wrapped + wrapped candy

13 winner/ loser

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!