I made a PacMan game about a month ago, (can be found in my scenarios) and I was wondering if there would be a simple way of getting the ghosts to follow PacMan around as he navigates the course. As it is now, the ghosts are on a set path and do not try to follow and trap the PacMan like in the actual game. The hard part about this is that the ghosts not only have to follow PacMan, but they must also navigate through the maze. Another problem to be solved is how the ghosts would move back to the spawn after they have been eaten. Right now I just have them removed from the world and added back at the spawn location after a certain amount of time. Any suggestions would be greatly appreciated.

