Pacman Ghost moving in android
I want to play game pacman. There is a problem exists in the moving of the pacman ghosts. How can i move the ghost. I use Random Method but it moves in the same direction up or down or left or right. I want actual theory behind pacman movement
This page has an extremely detailed analysis of Pac-Man with information about the AI of each ghost.