george++:
The function use the same algo as the "hints" that show the next possible move for the player ( and flash the sprite ), but you can say that its kind of random as it will use the first possible move available that it spots. The wip here is making sure it picks a move that gives the bot the best possible score , so it should pick a 4 match before a 3 match etc.
Conjured Entertainment:
Thanks, It actually just swap the x,y on everything that display inside the grid ( to give this landscape view ), so it was pretty easy to make this way. But i kind of like the way the gems drops from the left to the right instead of from the top to the bottom. when you try the game you will see that it actually gives you a hole new type of game play, its really different when you play and the gems drop from the left.
Looking forward to see your match game
best regards Preben Eriksen,