Pac-Man, but you're the ghost

Hacker News Top Products

Summary

A blog post about a small web game where you play as the ghost in Pac-Man, with AI-controlled Pac-Man and power pellet mechanics.

No content available
Original Article
View Cached Full Text

Cached at: 06/14/26, 07:37 AM

# Pac-Man, but you're the ghost Source: [https://garrit.xyz/posts/2026-06-13-pac-man-but-you-re-the-ghost](https://garrit.xyz/posts/2026-06-13-pac-man-but-you-re-the-ghost) I always felt a little bad for the ghosts in Pac\-Man\. They patrol the maze, they corner the guy, and then he eats a glowing pellet and suddenly they're the ones running for their lives\. So I built a small game where you finally get to play the other side\. Pac\-Man has its own AI, and your job is to catch him before he clears the maze\. The twist is the same one that always ruined my day as a ghost: if he eats a power pellet, the tables flip and he hunts you for a few seconds\. Then you run\. You can play the game[here](https://garritfra.github.io/pac-hunt/)\. Have fun\! ![Image](https://github.com/user-attachments/assets/80319217-7cd2-432e-8006-01ff5cefef06) --- ## Continue Reading

Similar Articles

Ghost

Product Hunt

Ghost is an open-source, self-hosted game server platform allowing developers to run their own game servers independently.

Mad House — Usborne Creepy Computer Games

Simon Willison's Blog

A developer used Claude to recreate the 'Mad House' game from a 1980s Usborne book as an interactive JavaScript artifact, complete with retro aesthetic and mobile-friendly design.