Not sure if I ever posted this before, but I should have. It’s an awesome and comprehensive look at the “AI” behind the ghosts in the classic Pac-Man game.
I’m in the middle of making a game inspired by Pac-Man, so this info is perfect for what I’m doing. But even if you’re not doing something Pac-Man’ish, the techniques shown here can give you some cool ideas for ways to make characters move in your game.