Hi, I don't know if this is too much I am asking here but I basically need the programming for a ghost in pacman. It should do everything the original ghosts in the original game do too.
Thank you
You can check my Pac-Man game here: https://www.greenfoot.org/scenarios/19573
It is pretty similar to the original one and you can view the source. However, it is mostly in German. The code for the ghosts is located in the Geist class.