Built idea · Oct 9, 2026
Four Ghosts, Four Targets
A browser Pac-Man maze that draws each ghost's live target tile and decision rule, so you can watch the 1980 arcade AI think, including Pinky's famous overflow bug.
What it does
A lab for game-AI and intro AI classes on how four maze chasers each decide where to go. Every chaser follows a one-line rule toward its own target tile, and the app draws every target, every candidate move and every distance it compared, one tick at a time, with six guided scenarios. A second tab races the simple greedy rule against shortest-path search to show what the shortcut costs. Limitation: it models one level's timing, and it is a teaching lab, not a playable game.