daleharvey / pacman

HTML5 Pacman
Do What The F*ck You Want To Public License
697 stars 470 forks source link

Eaten Ghosts should return back to base - any ideas? #6

Open nicholaswmin opened 9 years ago

nicholaswmin commented 9 years ago

Hi, I've noticed in the source code that you haven't finished the Ghosts should return back to base when eaten feature.

I think this can be done with Djikstra's shortest path, however even counting all the possibilities is not an impediment at all, the path possibilities are not too many.