Pac-Man’s maze looks simple: eat every dot, avoid four ghosts and grab a Power Pellet when you need to turn the tables. Yet the original 1980 arcade game remains gripping because Blinky, Pinky, Inky and Clyde do not all chase Pac-Man in the same way. Each ghost aims for a different target, and together they create the illusion of a coordinated gang closing in from every side.
Understanding that hidden logic changes the game. What first feels like four random enemies becomes a readable system of pressure, ambushes and escapes. This guide explains the original Pac-Man ghost AI in plain English, then turns it into practical advice you can use on your next run. You can follow along on the crawlable Pac-Man arcade game page and launch the cabinet from there.
Why the Pac-Man ghosts feel alive ?
Pac-Man was created by Toru Iwatani and released by Namco in Japan in 1980, with Midway licensing it for the United States. In an era crowded with space shooters, its colourful maze, eating mechanic and cast of expressive characters reached a much wider audience. The Strong National Museum of Play credits Pac-Man and its four colourful ghosts with injecting personality into video games, helping the maze game grow into a mass-cultural phenomenon.
The clever part is that the ghosts do not need modern machine learning or a complicated map planner. The maze is divided into tiles. At an intersection, a ghost considers the legal directions available to it, normally excluding an immediate reversal, and chooses the route that best approaches its current target tile. Change the target and the same simple rule produces a completely different personality.
Three modes control the whole maze ?
Before meeting each ghost, it helps to understand the three broad modes that govern their behaviour:
- Chase mode: every ghost uses its own targeting rule to hunt or contain Pac-Man.
- Scatter mode: the ghosts head towards separate corners of the maze, briefly pulling the group apart.
- Frightened mode: after Pac-Man eats a Power Pellet, the ghosts turn blue, slow down and choose turns less predictably while they can be eaten.
The game alternates between scatter and chase on a timer. When that mode changes, the ghosts are told to reverse direction. That sudden about-face is not indecision: it is a useful visual clue that the maze has entered a new phase. Power Pellets trigger frightened mode separately, giving Pac-Man a short window to attack.
Blinky, the red ghost: the direct chaser ?
Blinky targets Pac-Man’s current tile. He is the most straightforward member of the group and often the easiest to understand: if the red ghost is behind you, he is trying to close the distance. That direct pressure is why Blinky is commonly described as the chaser or shadow.
He also becomes more dangerous as a board empties. After enough dots have been eaten, Blinky speeds up and eventually spends scatter periods targeting Pac-Man instead of retreating to his corner. Players often call this accelerated state “Cruise Elroy”. It prevents you from clearing the last few dots at a leisurely pace.
How to handle Blinky: avoid long, indecisive loops when only a few dots remain. Use corners to make him commit to a route, keep track of the nearest tunnel, and leave yourself an exit before entering a dead-end lane.
Pinky, the pink ghost: the ambusher ?
Pinky usually targets four tiles ahead of the direction Pac-Man is facing. Rather than following your trail, the pink ghost tries to arrive where you are going. This creates pincer movements: Blinky pushes from behind while Pinky threatens the path ahead.
The original arcade code contains a famous quirk when Pac-Man faces upward. Instead of targeting only four tiles above him, an arithmetic overflow also shifts Pinky’s target four tiles to the left. It is one of those tiny hardware-era details that became part of the game players learned to master.
How to handle Pinky: remember that your facing direction helps shape the ambush. Near an intersection, a quick change of direction can move Pinky’s target away from the route you actually intend to take. Do not stare only at the ghost behind you; check the corridor ahead.
Inky, the cyan ghost: the unpredictable one ?
Inky’s target depends on both Pac-Man and Blinky. The game starts with a point two tiles in front of Pac-Man, draws a vector from Blinky to that point, then doubles it. The end of that projected line becomes Inky’s target. When Pac-Man faces upward, the same overflow family seen in Pinky’s rule also shifts this intermediate point to the left.
That two-character calculation explains why Inky can feel erratic. When Blinky is far away, a small change in position can move Inky’s target dramatically. When Blinky is close, the pair can squeeze Pac-Man from surprising angles. Inky is not random in chase mode; his apparent unpredictability comes from reacting to two moving pieces at once.
How to handle Inky: read the cyan and red ghosts as a pair. If Blinky is approaching on one side, expect Inky’s line of attack to be influenced by that position. Give yourself extra space whenever both are near the same half of the maze.
Clyde, the orange ghost: chase, then retreat ?
Clyde switches between two target ideas depending on his distance from Pac-Man. When he is eight or more tiles away, he targets Pac-Man directly, much like Blinky. Once he comes within eight tiles, he heads for his scatter corner in the lower-left of the maze.
The result is a looping, hesitant personality. Clyde approaches, gets close, backs away, then may approach again. That makes him less relentless than Blinky but not harmless. His retreat can still place him directly across the route you hoped to use.
How to handle Clyde: do not assume an orange ghost moving away has stopped being dangerous. Watch the gap. Crossing the eight-tile threshold can change his goal, and a later intersection can bring him back towards you.
What happens at an intersection? ?
In chase and scatter modes, the original ghosts make local decisions rather than calculating a complete journey through the maze. At each decision point, a ghost compares the available neighbouring tiles with its target and chooses the one with the shortest straight-line distance. Ties follow a fixed priority: up, left, down, then right. Ghosts usually cannot reverse direction unless the game orders a reversal during a mode change.
This matters because a ghost may choose a route that looks wrong to a human who can see the whole maze. It is pursuing a target one intersection at a time. A player can exploit that limitation by approaching corners deliberately and making a ghost commit before changing course.
Six practical Pac-Man tips for beginners ?
- Watch the whole group. Blinky is obvious, but Pinky and Inky are designed to punish tunnel vision.
- Turn before a ghost reaches the junction. Once it commits to a corridor, it normally cannot reverse immediately to correct the choice.
- Save a Power Pellet for an escape. The four corner pellets are not just bonus opportunities; they are emergency exits when the maze closes around you.
- Use the side tunnel. Ghosts slow down inside it, so the tunnel can create breathing room when the centre lanes become crowded.
- Clear awkward dots early. Blinky’s late-board speed makes isolated dots increasingly risky.
- Learn one section at a time. You do not need a perfect memorised pattern to improve. Start by recognising safe turns around the lower corners and the entrances to the tunnel.
Power Pellets turn defence into scoring ?
A Power Pellet is valuable because it changes both safety and score. The first frightened ghost in a single pellet window is worth 200 points, followed by 400, 800 and 1,600 if you catch all four. That escalating reward tempts players to take risks, but the frightened window gets shorter on later boards and eventually disappears.
For a new player, survival usually matters more than forcing the full chain. Eat the ghosts that are safely within reach, then use the remaining time to clear a dangerous lane. The best Power Pellet is often the one that keeps the run alive.
Why simple rules created a timeless game ??
The four ghosts demonstrate one of classic arcade design’s greatest strengths: a small set of transparent rules can create deep play. Blinky supplies pressure. Pinky cuts off the future. Inky turns the red ghost’s position into a moving trap. Clyde alternates aggression with retreat. None is especially convincing alone; together they produce a pursuit that feels expressive, readable and endlessly replayable.
That is why learning the Pac-Man ghost AI does not ruin the magic. It reveals the craft. The next time a cyan ghost appears from an unexpected corridor or Pinky waits ahead of you, you can see the machinery and still feel the tension.
Ready to test what you have learned? Visit the original Pac-Man game page, browse more classic maze arcade games, or compare the sequel’s less predictable behaviour on the Ms. Pac-Man game page. For the wider story behind the golden age, read our history of arcade games.
Sources and further reading ?
- Official PAC-MAN history — the series timeline from Bandai Namco.
- The Strong National Museum of Play: Pac-Man — creation, release and cultural impact.
- The Pac-Man Dossier — detailed ghost targeting and movement analysis verified against the original arcade ROM code.
What players are saying…
No comments have cleared the cabinet yet. Be the first player to join in.
Leave your comment
Sign in with a confirmed player account to join the conversation.
Sign in to comment