Search code examples
artificial-intelligencepacman

Pac-Man Template with Original Ghost AI (Help)


I'm currently trying to implement a fully autonomous Pac-Man game, where you just watch. I plan on making the actual yellow guy's AI to play the game flawlessly. I want to make it so that the Ghosts have the personalities like in the original Pac-Man, but I'm more so looking for a template, a Pac-Man game that is already made, and has that feature, so that I can work on the Pac-Man himself.

Does anyone know if that source code is available? I've tried github, but I haven't found anything that resembles the original ghost behavior as described here: http://gameinternals.com/post/2072558330/understanding-pac-man-ghost-behavior

thanks


Solution

  • There's a huge amount of information about how pac-man works here. Some of the information may be useful when you are trying to build the AI for the "perfect" pac-man player.

    I think you will have a hard time getting access to the original pac-man source code (Namco usually gets people to remove it). The original pac-man was written in ASM so you may have a hard time reading that even if you do get a hold of it.