Thank you Pavitra for taking a look and trying out Chase the Ace. I really appreciate your comments for improvements, which I will take into consideration and implement for the next update. Yes I also thought that the UI was a little flat…my artistic talents are lacking. When I designed the screen with the ad, I do have the ad at the bottom, but possibly with larger phones the ad appears more towards the middle of the screen.
How I made the cards animate is as follows (image included with some of the code)…the cards are image sprites on a canvas. When the screen is initialized I create three lists, one for the names of the image sprites, one for the X position of each of the sprites and one for the Y position of each of the sprites. In my code, I determine the cards that need to be switched ( ie perhaps 2 and 4 - startCardNum and finishCardNum). I initiate a timer (clock) that will move these two image sprites 1/5 of the distance between them towards each other (movex and movey). After the timer fires five times (so the complete distance is covered), I return the image sprites back to their original position, so it appears that the cards were switched. I do this for all of the cards that need to be switched and then disable the timer. I hope this makes sense.
Thanks. Will