Mastering Pac-Man: The Pattern Strategy Explained

Pac-Man’s ghosts aren’t random. Their AI is entirely 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 forty years to clear boards reliably. Mastering Pac-Man patterns means learning a small set of memorized routes that bypass the ghost AI completely.
Key takeaways
- Pac-Man’s four ghosts each follow distinct deterministic targeting rules.
- Patterns are pre-memorized routes that exploit the ghosts’ predictable behavior.
- The “cherry pattern” reliably clears the first board with the cherry bonus.
- The “rolling pattern” works through the middle boards once orange-key bonuses appear.
- Patterns break down at the kill screen (level 256) due to the integer overflow bug.
Why patterns work
The original arcade Pac-Man has no 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 Pac-Man’s facing.
- 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 Euclidean distance to their target, with a tie-breaking order of up, left, down, right. 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.
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 cherry pattern (board 1)
The most famous pattern is the cherry pattern for the first board. It’s a fixed route that clears every dot, eats both power pellets at optimal times, and consumes all four ghosts twice — yielding 2,000 from the four ghosts in pair eats (200 + 400 + 800 + 1,600).
The pattern starts with Pac-Man heading down from the spawn point, takes a specific path through the maze that keeps the ghosts behind, eats the first power pellet, reverses to consume ghosts, then loops through the rest of the dots. Versions of this pattern have been documented since the early 1980s and are still taught in Pac-Man tutorials today.
Executing the pattern requires precise stick control — every fork and corner has a specific direction to commit. One missed input desyncs the pattern and forces improvisation.
The rolling pattern (boards 5-8)
Once cherries become oranges and then apples, the bonus changes but the maze is the same. A rolling pattern is a series of consistent routes that handle boards 5 through 8 (each yielding a different fruit bonus). The rolling pattern doesn’t try to eat all four ghosts on every board — instead it prioritizes safety and dot completion, with opportunistic ghost eating when the route allows.
Players who memorize the rolling pattern can clear boards 5-8 on autopilot, banking the fruit bonuses without burning lives. Combined with the cherry pattern for the early boards, this is enough to reach the high-level boards where the game speeds up significantly.
The Galaxian board and beyond
From level 9 onward, the bonus is the Galaxian flagship (2,000 points). The maze layout stays identical but the game speed increases. Patterns that worked at slower speeds may not work at level 9-12 because ghost AI has less time to react and Pac-Man has less time to thread gaps.
Advanced players use modified versions of earlier patterns adjusted for the speed change. The fundamentals are the same — exploit the deterministic targeting, time ghost eats during scatter — but the execution window narrows.
The intersection tile shift
One Pac-Man trick that’s almost a pattern in itself: Pac-Man moves faster than the ghosts in most modes, but loses speed when eating dots. The dot-eating speed 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. 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 shortens with each level. Board 1: 6 seconds blue. Board 5: 4 seconds. Board 9: 2 seconds. Board 17 and beyond: ghosts don’t turn blue at all.
This means the cherry pattern (board 1) leans heavily on long ghost-eating chains, while higher-level patterns abandon ghost eating entirely. By level 17, patterns are pure dot-clearing routes with the power pellets used only for momentary safety, not score.
The famous tunnel exploit
The left and right edges of the maze have a wrap-around tunnel. Ghosts move at half speed in the tunnel; Pac-Man moves at full speed. Patterns that route Pac-Man through the tunnel when ghosts are close to entering it gain a meaningful speed advantage.
The “tunnel patrol” is a defensive pattern variant: when overwhelmed, retreat to the tunnel, wait for ghosts to commit to one side, then exit the other side. This works as a panic move when a pattern desyncs.
The level 256 kill screen
The original arcade Pac-Man has a famous integer overflow bug at level 256. The fruit display uses a single byte to track which fruit to show, and at level 256 (00 in 8-bit) the right half of the maze fills with garbage characters that block dot collection. The board is unwinnable.
The score required to reach 256 with a perfect game — eating every dot, every ghost, every fruit, with no missed inputs — is 3,333,360. That’s the official Pac-Man “perfect score,” first achieved by Billy Mitchell in 1999 and confirmed by Twin Galaxies (with subsequent controversy and re-rulings on his other records).
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-eaten counters, which depend on the exact maze state. A pattern that’s slightly off-rhythm can cause Inky 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.
Modern Pac-Man variants
Pac-Man Championship Edition (2007) and later variants randomize ghost behavior to break pattern play. These are deliberate design choices to push the game from a memorization contest to a reflex contest. 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 the cherry pattern until you can execute it from muscle memory without thinking. Then add boards 5-8 with a rolling pattern. 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.
Many emulator setups let you save state at the start of each board, which is invaluable for pattern practice. Modern browser ports of Pac-Man-style games don’t always preserve the exact arcade AI, so for true pattern practice use a faithful arcade emulator or the MAME ROM.
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 optimally.
What’s the “cherry pattern”?
The cherry pattern is a memorized route for the first board (cherry bonus) that clears every dot, eats both power pellets, and consumes all four ghosts on each pellet. It’s the most documented pattern in Pac-Man history and is taught in every serious Pac-Man tutorial.
Does pattern play work in modern Pac-Man games?
Only in the original arcade version and faithful emulations. Modern variants like Pac-Man Championship Edition randomize ghost behavior specifically to break pattern play. For pattern practice, use the original arcade ROM or a verified faithful port.
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, before the level 256 kill screen. Billy Mitchell claimed the first perfect score in 1999.
How do I start learning patterns?
Pick a single pattern — the cherry pattern is the standard start — and drill it until your inputs are muscle memory. Use an arcade emulator with save states so you can restart the first board repeatedly. 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 first 8 boards become reliable income. Past that, the speed forces 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 one-button arcade challenge, the Chrome Dino game swaps pattern memorization for pure reflex.








