jackflips / pacman

cmps 146 pacman ai project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Things that need to be implemented for ghost AI:

Condition: GhostBetweenGhostAndPacman
Follows the shortest available path from the ghost's location to pacman's location
Returns true iff there is another ghost on this path.

Actions:
RunAndScatterAction
Flees Pacman and tries to avoid other ghosts as well.

GetToEmptyFlankAction
Attempts to get to one of Pacman's anticept destinations that is far away from other ghosts
not really sure how to implement
the most important part is avoiding other ghosts though

About

cmps 146 pacman ai project

License:Other


Languages

Language:Java 100.0%