This is an A-I using a ruleset of the normal pacman ghost controls. I plan on making a "Pac-Maker", as I finally threw together a source for AI. Thanks to "Retro Game Mechanics Explained" for the well thought out video on the AI. This will work with the AI of any ghosts, and is like a pathfinding AI that solves the maze itself. In the 0.01% chance someone else uses this, credit me!
Yes I know certain edge tiles can break, and the AI may walk through walls, but that is because of the ghost sprite. This works in live time and can be used for pacman games.