Skip to content

Ghost navigation #2

@archerbird

Description

@archerbird

Ghosts have three navigation behaviors during a game:

  1. 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.
  2. 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.
  3. 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)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions