I am working on a pac-man clone, and the trouble is with the ghost's artificial intelligence. I am really stuck on that. So far, everything except that was a breeze.
I was wondering, does anyone know what algorithm I am looking for? I have read and implemented the A * algorithm, and it basically doesnt work/or I am doing the wrong way (I am pretty sure its the problem is a bug in *my* code).
Anyhow, help is so greatly appreciated and anticipated... anything--a tutorial perhaps, or even a old MS-DOS clone will do. I am looking basically for the AI part of it.