Hi All ,
For me it is not being easy, it's being a challenge LOL , in the example below assuming that the piece to move is X, how to make the system detect the best movement? what would be the criteria for eliminating the other moves? if it start looking vertically and find a match and don't look any further,it can have a better move horizontally and it won't show , and so on ,how to rank all the pieces and suggest the best move thats the challenge for me ! Maybe I must check for a match of 5 , ( because is the maximum of match ), if I find two or more of 5 I can pick any one of then a random because does not matter which one as they are the same , else I start looking for a match of 4 , and so on ... , I dont know ,Thanks