Mastering Pac-Man: The Pattern Strategy Explained

Friends enjoying a strategic board game session indoors, focusing on gameplay and fun interaction.

Pac-Man‘s ghosts aren’t random. Their AI is deterministic — given the same player inputs from the same starting position, the ghosts will move the same way every time. That deterministic behavior is the foundation of pattern play, the strategy serious Pac-Man players have used for decades to clear boards reliably. Mastering Pac-Man patterns means learning a small set of memorized routes that keep the ghosts where you expect them.

Key takeaways

  • Pac-Man’s four ghosts each follow distinct deterministic targeting rules.
  • Patterns are pre-memorized routes that exploit the ghosts’ predictable behavior.
  • A first-board pattern clears the cherry level while timing ghost eats around the power pellets.
  • Later-board patterns trade ghost eating for safety as frightened time shrinks.
  • Patterns end at the kill screen (level 256), caused by a level-counter overflow bug.

Why patterns work

The original arcade Pac-Man has no true randomness in its ghost movement. Each ghost has a “scatter” mode and a “chase” mode, and the chase mode uses a fixed targeting function:

  • Blinky (red): targets Pac-Man’s current tile directly.
  • Pinky (pink): targets four tiles ahead of Pac-Man’s facing direction.
  • Inky (cyan): targets a tile computed from Blinky’s position and the tile two ahead of Pac-Man.
  • Clyde (orange): targets Pac-Man directly when far away, retreats to his scatter corner when within 8 tiles.

Ghost movement at intersections is greedy — they pick the direction that minimizes straight-line distance to their target, with a tie-breaking order of up, left, down, right. The one “random” element, the wandering of frightened (blue) ghosts, comes from a pseudo-random generator that resets at the start of each level and life, so it repeats too. With Pac-Man following a fixed route, every ghost’s path is calculable in advance. That’s what makes patterns possible.

The scatter/chase cycle

The ghosts alternate between scatter (move toward their corner) and chase (use their targeting function) on a fixed schedule. On the first board, the cycle is roughly: 7 seconds scatter, 20 seconds chase, 7 scatter, 20 chase, 5 scatter, 20 chase, 5 scatter, then chase indefinitely. Later levels shorten the final scatter phases.

Patterns are timed to take advantage of scatter windows. A good pattern routes Pac-Man through dangerous corridors during scatter and through safe areas during chase.

The first-board (cherry) pattern

The best-known patterns are routes for the first board, the cherry level. A strong first-board route clears every dot and times the four power pellets so ghosts can be eaten in chains. Eating all four ghosts on one pellet scores 200 + 400 + 800 + 1,600 = 3,000 points.

A pattern takes a specific path through the maze that keeps the ghosts behind or away from Pac-Man, eats a power pellet when the ghosts are close, reverses to eat them, then loops through the rest of the dots. Patterns have been published since the early 1980s — Ken Uston’s 1981 book Mastering Pac-Man was a bestseller built around them — and players still share and refine them today.

Executing a pattern requires precise joystick control — every fork and corner has a specific direction to commit. One missed input desyncs the pattern and forces improvisation.

Patterns for the middle boards

After the cherry, the bonus fruit changes as you advance: strawberry, then orange, apple, and melon. The maze is the same, but speeds and frightened times change. Because several levels share the same speed and timing settings, one memorized route can often be reused across a group of boards. These middle-board patterns don’t try to eat all four ghosts every time — they prioritize safety and dot completion, with opportunistic ghost eating when the route allows.

Players who memorize a reliable route for these boards can clear them consistently, banking the fruit bonuses without burning lives. Combined with a first-board pattern, this is how players reach the later boards, where ghosts can no longer be eaten and the game demands precision.

The Galaxian board and beyond

Levels 9 and 10 award the Galaxian flagship (2,000 points), levels 11 and 12 the bell (3,000), and every level from 13 on the key (5,000). The maze layout stays identical, but frightened time keeps shrinking, so patterns that relied on eating ghosts stop working.

Advanced players use routes adjusted for these settings. The fundamentals are the same — exploit the deterministic targeting, use scatter windows — but the margin for error narrows.

Dots slow you down

One Pac-Man detail that’s almost a pattern in itself: Pac-Man is slightly faster than the ghosts in normal play, but he briefly pauses each time he eats a dot. That dot-eating penalty is small but matters. Patterns that involve crossing intersections while eating dots have to account for the slowdown.

Conversely, Pac-Man can outrun ghosts in dot-free corridors, and he can cut corners slightly when turning, which ghosts can’t. The optimal pattern uses dot-free paths for quick traversal between dot-rich corridors.

Power pellet timing

Power pellets turn ghosts blue for a duration that generally shrinks as levels rise, though not in a straight line. Board 1 gives about 6 seconds; by board 5 it’s around 2 seconds; a few later boards briefly bump it back up. From level 19 onward (and on level 17), ghosts don’t turn blue at all — they only reverse direction.

This means first-board patterns lean heavily on ghost-eating chains, while higher-level patterns abandon ghost eating entirely. On those boards, patterns are pure dot-clearing routes with the power pellets used only for momentary safety, not score.

The tunnel advantage

The left and right edges of the maze have a wrap-around tunnel. Ghosts move at roughly half speed in the tunnel; Pac-Man doesn’t slow down. Patterns that route Pac-Man through the tunnel when ghosts are close behind gain a meaningful speed advantage.

The tunnel also works as an emergency escape: when a pattern desyncs, ducking through it can buy time while the ghosts commit to one side. It’s a panic move, not a plan.

The level 256 kill screen

The original arcade Pac-Man has a famous overflow bug at level 256. The level counter is stored in a single byte, and when the fruit-drawing routine handles level 256 it overflows, filling the right half of the maze with garbage characters and leaving too few reachable dots. The board can’t be completed.

The maximum possible score — every dot, every power pellet, every ghost on every pellet, every fruit on all 255 levels, plus everything reachable on the split-screen level — is 3,333,360. Billy Mitchell’s 1999 perfect game was the first recognized. His records have since been the subject of a long dispute: Twin Galaxies removed all his scores in 2018 over Donkey Kong evidence, a ruling he has contested.

Where patterns break

Two things break patterns. First, missed inputs. If Pac-Man doesn’t reach a corner at the exact tile and direction the pattern expects, the rest of the route is wrong and you’re improvising. Second, ghost-house exit timing. Inky and Clyde leave the ghost house based on dot counters and a timer, which depend on the exact game state. A pattern that’s slightly off-rhythm can cause a ghost to leave at a different time than expected.

Recovery from a broken pattern requires improvisation — read the ghost AI in real time, route through scatter windows, use power pellets defensively. This is the difference between mid-tier pattern players and elite players: the elites can recover when the pattern breaks.

Later Pac-Man games

Ms. Pac-Man (1982) added a degree of randomness to ghost movement, which made fixed patterns far less reliable. Later games such as Pac-Man Championship Edition (2007) changed the mazes and pacing so completely that classic routes don’t carry over. The original arcade Pac-Man remains the version where patterns apply.

For more on the game’s origins and design choices, see our Pac-Man history piece. For general beginner strategy without patterns, our how to win at Pac-Man guide is the starting point.

Practice approach

Learn one pattern at a time. Drill a first-board pattern until you can execute it from muscle memory without thinking. Then add a route for the middle boards. Don’t try to memorize patterns for all 255 levels — focus on the early boards that bank consistent points, and improvise the rest with ghost-AI knowledge.

Browser Pac-Man-style games often don’t reproduce the exact arcade AI and timing, so arcade patterns may not transfer to them. For true pattern practice, use an officially licensed, arcade-accurate release of the original game.

Frequently asked questions

Why do Pac-Man patterns work?

Because the ghost AI is deterministic. Given the same Pac-Man inputs from the same starting state, the ghosts will move identically every time. A memorized route exploits this predictability to avoid danger and time power pellets well.

What’s the “cherry pattern”?

It’s an informal name for a memorized route through the first board, where the bonus fruit is a cherry. A good one clears every dot and times the power pellets so you can eat ghosts in chains. First-board routes are the most documented patterns in Pac-Man history.

Does pattern play work in later Pac-Man games?

Mostly no. Ms. Pac-Man added randomness to ghost movement, and later games changed the mazes and rules. For pattern practice, use the original arcade game in an accurate, officially licensed release.

What’s the perfect score in Pac-Man?

3,333,360 points. This requires eating every dot, every power pellet, every fruit bonus, and every ghost during every blue period across all 255 playable levels, plus everything reachable on the level 256 kill screen. Billy Mitchell’s 1999 game was the first recognized perfect score.

How do I start learning patterns?

Pick a single pattern — a first-board route is the standard start — and drill it until your inputs are muscle memory. Restart the first board repeatedly rather than playing long games. Don’t try to memorize multiple patterns at once.

The bottom line

Pac-Man is a memorization game underneath its arcade exterior. Learn the patterns, drill the inputs, and the early boards become reliable income. Past that, shrinking fright times force real-time AI reading skills. Combined, patterns plus reactive play are how Pac-Man players reach the kill screen. For an entirely different kind of arcade challenge, the Chrome Dino game swaps pattern memorization for pure reflex.

🔌 Connect any AI assistant to dinogame.gg — we run an MCP server: https://dinogame.gg/mcp