Scilab/Matlab Problem.

I need to do a Candy Crush game as homework and I'm pretty lost.

The following are the requirements:
-8x8 matrix

-Asks for player's name

-Saves score and name in a text file (.txt)

-Only 20 movements and move tracker/counter

-When 3 equal elements (color/symbol) are aligned verticaly or horizontaly they have to be erased and substituted with random characters. This movement scores 10 points.

-At the end of the 20 movements, the program shall display the total score and the player's name.

Scilab 05-05-19, 10:40 p.m. cassar


Log-in to answer to this question.