← Project history & credits

Browser adaptation · 2026

Pacman AI

Watch the AI collect pellets, dodge ghosts, and turn the chase around with a power pellet. Or take control yourself.

Your browser needs canvas support to draw the visualization.

Loading interactive controls…

How to explore

Press Play to watch the AI. Switch to Play yourself for arrow keys, WASD, or direction buttons. Clear the maze before losing three lives. Small pellets score 10, power pellets 50, and frightened ghosts 200 or more. Enable Show AI route to inspect the search.

About this version

A Pacman-style browser adaptation with an original maze and simplified ghost personalities, not an exact reproduction of the commercial arcade game. A* plans toward nearby food with extra costs around ghosts; it can still get caught. Power pellets briefly let you eat ghosts. One maze, three lives, no sound or voice controls.

New browser interpretation inspired by the Python/Pygame archive, a fork of JuanEscobar066/Pacman-IA. Original team contributions remain shared. The maze, animation, ghost behavior, and browser code are newly drawn and implemented; original sprites, audio, private files, voice services, and Python environment are not bundled.

Read about the original project · All demos