๐Ÿ”

๐Ÿ’€ A Maze of Death

Everyone knows who the bad guys are in Pac-Man. There are four of them. They're red, pink, cyan, and orange. They have names, they have personalities, they had a Saturday morning cartoon. Forty years of merchandising agrees: these are the opponents.

The merchandising is wrong.

Watch a strong player for five minutes and you'll see the ghosts do something strange: they cooperate. Not willingly โ€” structurally. The player parks near the jail, waits for the release, lures the pursuit into a tight loop, gathers the whole pack into one trailing conga line, and spends a power pellet on all of them at once. In Pac-Nerd this is called a Gambit, and the game will let you chain six eats off a single pellet โ€” there are only four monsters, but eaten ones respawn from the jail, and if they come back out while the window is still running you can gobble them again. The ghosts are deterministic enough to be played โ€” lured, parked, collected, spent. They aren't opponents. They're instruments.

So if the ghosts are instruments, who are you playing against?

You're playing against the maze. The ghosts are its hands.

The same brains run on every board. In Alpha Stalkers โ€” Pac-Nerd's default AI โ€” it's barely even four algorithms: it's two. A pack, whose members trade roles fluidly, and a contrarian, who does not care what the pack thinks. (Plus one standing rule: Chase, our Blinky, goes Psycho in the final stretch of dot-clearing โ€” faster than you, personally.) None of it changes between boards. And yet on one board they form pincers at the warp mouths, on another the pack gets caught on the far side of a partition, and on a third, two of them settle into a lazy cycle around some cul-de-sac and appear to give up. The difference isn't in the ghosts. It's in the walls. Geometry decides what the algorithms do. The intelligence of the system lives in the floor plan, and the ghosts merely execute it, the way a hand executes a grip.

About those two ghosts cycling in the cul-de-sac: you will think they're broken. Those two aren't doing anything. Those two are just going in circles. Watch. Those are the ones that will kill you. They are biding their time. Every dot on the board must be eaten, including the ones in their little pond, which means the maze has already scheduled your appointment there. They are where the maze keeps its hands folded.

The arcade original understood none of this about itself, and its history proves the point by accident. The maze never changed, so players memorized it, and once the maze was memorized it stopped being an opponent at all. Pattern play โ€” the highest form of classic Pac-Man โ€” is the performance of a solved script against a stage that has run out of moves. The best Pac-Man players in history were not playing against anything. They were performing a solo. The only wall left standing was the kill screen, which is just the maze dying before you do.

Philip K. Dick got here first, as usual โ€” he even took the title. In A Maze of Death, fourteen colonists arrive on a world called Delmak-O and begin to die. Being people, they investigate each other: they keep looking for an antagonist with a face. That is all the plot you get from me. The book is short, and what its title turns out to mean is worth arriving at unspoiled โ€” I'll say only that Dick saw, in 1970, exactly the kind of opponent this essay is about, and named it correctly. The maze doesn't hate you. The maze doesn't anything. That's what makes it a maze.

Kubrick got there too โ€” regular readers know this house keeps rooms on the subject. The Overlook is a labyrinth that remembers: hedges outside, corridors inside, one problem space, with at least one room that cannot exist. Watch what its hands do, though. They don't grip โ€” they pour. Lloyd confers, Grady advises; the hotel never attacks Jack, it reinstantiates him into a groove that was waiting before he arrived. And the one who gets out beats the labyrinth the only way it has ever been beaten โ€” backward, up his own footprints, rewinding. Not memorizing the maze: refusing to be memorized by it. The inverse of pattern play.

Which brings me to what we've been building. Pac-Nerd now contains over thirteen hundred generated mazes. I designed the generation system; AI wrote the code; the boards themselves nobody designed, which is the point โ€” they arrived the way mountains arrive, with structure but without intent. Some are gentle loops. Some are kaizo dungeons where merely surviving is the victory condition. Some are riddled with ponds, and their folded hands are waiting for you specifically. None of them can be memorized in the time they give you, so the opponent that pattern play dissolved in 1982 is back, and this time there are more of it than you will ever finish.

The cruelest ones already have a name; the Mario ROM-hackers coined it: kaizo. Corner dungeons โ€” one way in, dots inside, the power pellet annoyingly guarding the entrance (safe passage or the Gambit, never both) โ€” and all four of your appointments scheduled in advance, because every dot must be eaten. In 1982 mercy was a craft discipline; every corner had an out. Our Maze Designer didn't know He was supposed to be Merciful. There is no Maze Designer. No Fruit God smiling or frowning over your destiny, sending down Bananas in answer to prayer. Mazes are not designed. They are discovered โ€” Platonic, stubborn mathematical facts, all the possibilities unfolding by chance, and the anthropic principle stating plainly that a player only ever finds themselves in a playable maze: some connected topology, food to graze, predators to avoid. An ecosystem. Some mazes are more dangerous than others. That is not sadism. A kaizo board is a mathematical fact you die in. Forty-seven attempts is how long the proof took.

Which is why we handle them the way mountaineers handle an unclimbed range โ€” you don't name what you design, only what you discover. The first player to clear a board names it, permanently, initials in the ledger. Most of the range is still unnamed.

The maze is patient. It has more hands than you have lives. Come play โ€” the EXPLORE switch is at the top right, and the attempt counter doesn't judge.

pac-nerd writings arcade games published