Need help with PacMan AI
Hi.
I need some help the AI of PacMan. Is there any articles or tutorials for doing it.
Thanks.
Each ghost actually has his own algorithm. There is a good (English, not code) breakdown of the ghost algorithms that were used in Ms PacMan here:
http://members.tripod.com/~gamesmuseum/games/mspacman/mspacprj/mspacprj.html#Ghost
I'm not sure how much they differ from those used in the original PacMan.
[edited by - gmcbay on January 3, 2003 8:41:09 PM]
http://members.tripod.com/~gamesmuseum/games/mspacman/mspacprj/mspacprj.html#Ghost
I'm not sure how much they differ from those used in the original PacMan.
[edited by - gmcbay on January 3, 2003 8:41:09 PM]
www.gamecoding.co.uk ran a Pac-Man contest, most of the entries were open-source if you want some code to root about in.
i swear one of them used to cheat ! as soon as he got near you he used to be able to move slightly faster than you....that was my excuse for needing more coins to play again anyway.
To quote gamedev: You may not have been aware of this, but in the original Pac-Man the four different ghosts had different goals to trying to defeat you as a team. The aggressor would try to follow the shortest path to you, making you directly avoid him. The interceptor would try to go to a junction that was closest to where you would have to move to avoid the aggressor. A second interceptor would try to stay more towards the middle and try to cut you off from using the tunnel through the sides. The last ghost would sort of wander aimlessly about which often kept him staying in a section you needed to finish the map.
-~-The Cow of Darkness-~-
-~-The Cow of Darkness-~-
-~-The Cow of Darkness-~-
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement