I have been given a problem to solve a Bubble Breaker puzzle game. There are two parts to the game. Player 1.User Player 2.Cpu. I wrote the code for User, but I don’t know how the Cpu player will play in such a way that the cpu player can get the maximum result and completely clear the board. if anyone can help me with this?
when the game starts its download, a file containing an integer specifying b / w 1 and 3. 1 for red 2 for green 3 for yellow
1111111111
2323333132
1131123222
2222222113
1111111111
1111111111
1111111111
1111111111
adjacent colors will be removed.
a game like this . Plz help me with cpu player by giving me tips to get the best result. thanks in advance.