How-To Geek
Everything You Ever Wanted to Know About Why Pac-Man’s Ghosts Move the Way They Do
Have you ever wondered why the ghosts in Pac-Man move around the way they do? Here’s a complete and indepth guide to understanding everything there is to know about their behavior.
For instance, did you know:
Each of the ghosts is programmed with an individual “personality”, a different algorithm it uses to determine its method of moving through the maze. Understanding how each ghost behaves is extremely important to be able to effectively avoid them.
It’s nerdy. Really nerdy. And a really interesting read. Head for the link.
Understanding Pac-Man Ghost Behavior [GameInternals]
Got Feedback? Join the discussion at discuss.howtogeek.com
Comments (3)
Programmer by day, geek by night, The Geek, also known as Lowell Heddings, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on Google+ if you'd like.
- Published 12/16/10




Never would’ve guessed that much thought went into it. Although, I don’t really understand how to tell a digital ghosty it wants to go to a certain ’tile’ in the electrorealm.
Even 30 years later… i find my biological clock keeping the upper hand regardless :D
Holy crap, this helps so much when I make my own version of Pacman for programming class! This could not have come at a better time. Thanks HTG!!!!!!