Question: I'm writing a simple c++ code to make a console based candy crush. if there's a match of 3 or more candies, they get popped

I'm writing a simple c++ code to make a console based candy crush. if there's a match of 3 or more candies, they get popped and the remaining matrix (9 x 9) shifts below

Can anyone help me how to shift the entire matrix downwards at those particular indexes after there's a match for similar candies and later randomly generates characters in the first row , colum indexes just as the real candy crush game?

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!