Pac-Man template with original ghost AI (Help)

I am currently trying to implement a fully standalone Pac-Man game where you just watch. I plan to make the actual yellow guy AI to play the game flawlessly. I want to make the Ghosts have characters like the original Pac-Man, but I'm more looking for a template, the Pac-Man game, which is already done, and has this feature so that I can work on Pak-Man himself.

Does anyone know if this source code is available? I tried github, but I did not find anything similar to the original ghost behavior, as described here: http://gameinternals.com/post/2072558330/understanding-pac-man-ghost-behavior

thanks

+4
source share
3 answers

There is a wealth of information on how pac-man works here . Some information may be useful when you are trying to create an AI for the “perfect” pac-man player.

I think it will be difficult for you to access the pac-man source code (Namco usually gets people to remove it). The original pac-man was written in ASM, so it may be difficult for you to read this even if you get hold of it.

+3
source

Just thinking here, but Google just released the full version of PacMan for its 30th anniversary (PacMan). It has diminished, and I'm not sure that they have any copyright for it, but this may be the place to start.

Hooray!

+1
source

This is not a very answer, but if you are still looking for AI, I will send you what I have received so far. This is the original AI, but creating something that is 100% accurate will be quite difficult. Even in the old days of the game, reverse buffers were not used, so the screen was updated with every vertical update, which was ~ 1/60 of a second. Most of the game logic was executed when this interruption occurred, but the ghosts AI was made after. therefore, it is difficult to say how many assembly instructions were executed before the interruption continued again. But 99% is also nice.

0
source

All Articles