Ghosts have three navigation behaviors during a game:
- Scatter
Each ghost targets a tile in the corner of the map. Ghosts begin in this mode and switch between scatter and chase after a specified amount of time.
- Chase
Each ghost has a different strategy for choosing its target tile. All chase strategies depend, in some way, on Pacman's position and heading.
- Frightened
This navigation mode is triggered by pacman eating a super pellet. Ghosts move at random in this mode and at have the normal speed.
General Rules
- Ghosts may not choose to reverse direction
- Ghosts are forced to reverse direction after a behavior state change.
[More details] (https://gameinternals.com/understanding-pac-man-ghost-behavior)
Ghosts have three navigation behaviors during a game:
Each ghost targets a tile in the corner of the map. Ghosts begin in this mode and switch between scatter and chase after a specified amount of time.
Each ghost has a different strategy for choosing its target tile. All chase strategies depend, in some way, on Pacman's position and heading.
This navigation mode is triggered by pacman eating a super pellet. Ghosts move at random in this mode and at have the normal speed.
General Rules
[More details] (https://gameinternals.com/understanding-pac-man-ghost-behavior)