pacman ai collision and flee
I would like some more help, please.
The problems is with completing my pacman game. The problems occur with the ai, collision detecting, and the ghosts fleeing.
There are three ghosts blue, green, and red. The blue ghost is suppose to act like a homing missile,but it doesn't. The green ghost is suppose to use the bloodhound ai, but it sometimes gets trapped at a wall. The red ghost is to move randomly. Also, none of them flee properly.
In the demo most of the time if you move towards any of the ghosts you will see that pacman will become the ghost.
Any help will be appreciated.