Secrets7 min read·By the CalcBest team

Pac-Man: Ghost Patterns and Safe Routes

The four ghost personalities, the disperse-chase cycle that governs their behavior, and the safe-route patterns that let you clear boards without dying.

#pac-man#arcade#ghost-ai#patterns

The Ghosts Are Not Random

Most players think Pac-Man's four ghosts wander the maze randomly and chase when they see you. They do not. Each ghost has a deterministic targeting algorithm that decides where it tries to go at every intersection, and once you understand those algorithms the ghosts become predictable. Predictable ghosts are survivable ghosts.

The Four Personalities

Blinky (red) — the chaser. Blinky targets Pac-Man's current tile directly. As dots clear from the board, Blinky speeds up (the famous "Cruise Elroy" mode); once fewer than 30 dots remain, Blinky moves at Pac-Man's full speed.

Pinky (pink) — the ambusher. Pinky targets four tiles *ahead* of Pac-Man's current position, in the direction Pac-Man is facing. If Pac-Man is moving up, Pinky tries to get four tiles above him. This is why Pinky seems to cut you off — she is not chasing you, she is chasing where you will be.

Inky (cyan) — the flanker. Inky's target depends on *both* Pac-Man and Blinky. The game takes a point two tiles ahead of Pac-Man, then doubles the vector from Blinky to that point. Inky's behavior is hard to predict intuitively, which is why he is the most dangerous ghost in the late game.

Clyde (orange) — the indecisive one. When Clyde is more than eight tiles from Pac-Man, he targets Pac-Man directly (like Blinky). When Clyde is fewer than eight tiles from Pac-Man, he retreats to the bottom-left corner. This "panic" behavior makes Clyde predictable but also lets him corner you against the bottom wall.

The Scatter-Chase Cycle

Ghosts do not pursue you constantly. They alternate between scatter mode (each ghost retreats to a fixed corner of the maze) and chase mode (each ghost uses its targeting algorithm). The cycle is:

  • Scatter for 7 seconds.
  • Chase for 20 seconds.
  • Scatter for 7 seconds.
  • Chase for 20 seconds.
  • ...and so on, with scatter periods getting shorter as the level goes on. After a few cycles, scatter disappears entirely and the ghosts chase permanently.

This cycle is the key to safe routing. When the ghosts scatter, you have a 7-second window to grab dots in dangerous parts of the maze. When they chase, you retreat to safer territory. Top players count the cycles and plan their dot-clearing around them.

The Energizer Window

The four large energizer pellets in the corners of the maze turn the ghosts blue (edible) for a few seconds. The duration shrinks every level — on level 1 the window is about 6 seconds, on level 5 it is 2 seconds, and on level 19+ the ghosts do not turn blue at all.

The optimal energizer strategy is *delayed consumption*. Do not eat an energizer the moment you pass it. Instead, save it for when three or four ghosts are clustered nearby — eating the energizer then lets you eat all four ghosts in rapid succession, scoring 200 + 400 + 800 + 1600 = 3,000 points (or much more on later levels with the doubling bonus).

Safe Routes: The Side-Tunnel Trick

The side tunnels on the left and right of the maze slow ghosts down but not Pac-Man. If you enter a tunnel just ahead of a ghost, you will exit the other side with a comfortable lead. Use the tunnels to break line-of-sight with chasing ghosts — Pinky and Blinky especially lose tracking briefly when they enter a tunnel, which gives you a moment to change direction.

The Blinky-Split Maneuver

When Blinky is directly behind you and Pinky is approaching from the front (her four-tiles-ahead behavior), do not run straight — Blinky will catch up. Instead, take a perpendicular turn at the next intersection. This forces Blinky to make a targeting decision (he targets your new tile, not your old path), and Pinky's four-tiles-ahead prediction is now wrong because your direction changed. The Blinky-Split gives you a 1-2 second escape window that is often enough to reach a tunnel or an energizer.

Pattern Play

The deterministic nature of ghost AI means that, given the same starting position and the same Pac-Man inputs, the ghosts will respond identically every time. This is why pattern-based play works: memorize a route through the maze and the ghosts will respond the same way on every playthrough. Classic "perfect game" patterns exist for the first nine levels; learn one and you will clear those levels without dying.

Common Mistakes

Hugging dots in scatter mode. When the ghosts scatter, they retreat to corners — this is your chance to grab dots in *their* corners, not yours. Wasting scatter time in safe territory is the most common reason players die in chase mode.

Eating energizers immediately. Save them for clusters.

Forgetting about Clyde's panic. Clyde is harmless at eight tiles, dangerous at seven. Count your distance.

Summary

  • Each ghost has a deterministic targeting algorithm; learn them.
  • Scatter-chase cycles dictate the safe window for risky dots.
  • Save energizers for ghost clusters.
  • Tunnels break line-of-sight — use them to escape Blinky and Pinky.
  • Pattern play works because the AI is deterministic.

Pac-Man is not a reflexes game — it is a routing game with deterministic enemies. Once you see the patterns, the maze becomes safe.

Ready to put these tips into practice?

▶ Play Pac-Man

Related Guides