I am new to Android, I am developing a fighting game in Android with AndEngine. Now I want my enemies to mimic my player behavior and on base of score they should come up with different tactics.
I need to write an AI script. Please help me in that. I want to make my enemies intelligent that they can destroy my player and also engage him in game too.

sprite.x += rand()%100 - 50; sprite.y += rand()%100 - 50– thedaian Jul 12 '11 at 12:05