Jump to content

Pac-Man ghost AI question


89 replies to this topic

#76  

    Space Invader

  • 25 posts
  • Joined: 14-December 08
  • Location:Atlanta, GA

Posted Thu Jan 1, 2009 4:24 AM

Greetings!

I am pleased to announce that version 1.0 of The Pac-Man Dossier is now available here:

http://home.comcast....cManDossier.pdf


Changes from earlier versions include:

- Most importantly, Chapters 3 & 4 have been entirely rewritten to accurately reflect new discoveries on how the ghost logic code actually works (much thanks to Don Hodges).

- The game's tile system is discussed in detail.

- The split-screen bug is described correctly.

- Much of the overall text has been updated for better clarity.


The guide will continue to be available at the same web address for the forseeable future, and will be updated as the need arises.

Happy New Year,

Jamey Pittman
jamey.pittman@yahoo.com

#77  

    Space Invader

  • 25 posts
  • Joined: 14-December 08
  • Location:Atlanta, GA

Posted Sun Jan 4, 2009 8:44 AM

Here's a good mystery. Check out this .inp file (MAME 0.128) of me screwing around and just observing behavior. Specifically, notice what happens on the strawberry level after I eat the first energizer - 3 of the ghosts get "stuck" in the monster pen for quite some time! I've never noticed this before but find it quite interesting. Anyone know why this happens?

http://home.comcast....man2/pacman.inp

-Jamey

#78  

    Space Invader

  • 25 posts
  • Joined: 14-December 08
  • Location:Atlanta, GA

Posted Sun Jan 4, 2009 1:24 PM

Okay, new version of the guide is up: http://home.comcast....cManDossier.pdf

There is a new section on cornering (pg. 11), an improved reference list (pg. 29), Info on where the ghosts die in attract mode (pg. 31), and a new section of the appendix for easter eggs and tricks (pg. 32)

whew,

-Jamey

#79  

    Born To Be Insane

  • 7,136 posts
  • Joined: 25-March 03
  • Pac-man Fever
  • Location:Arcade

Posted Sun Jan 4, 2009 3:34 PM

Like the guide by the way. I'm just curious though. I've never seen any examples of why or what circumstances causes the ghosts to use the tunnels..

#80  

    Space Invader

  • 25 posts
  • Joined: 14-December 08
  • Location:Atlanta, GA

Posted Sun Jan 4, 2009 3:44 PM

View PostShannon, on Sun Jan 4, 2009 4:34 PM, said:

Like the guide by the way. I'm just curious though. I've never seen any examples of why or what circumstances causes the ghosts to use the tunnels..

Thanks, Shannon. The ghosts have no concept of the side tunnel, really; they are simply making the best turn they can to reach a target tile at an intersection (in this case, one of the two intersections that include a side-tunnel entrance). Sometimes Pac-Man is positioned/oriented in such a way that a ghost's target is closest to side tunnel turn - that's all. See Chapters 3 & 4 for more info. Hope this helps!

-Jamey

#81  

    Space Invader

  • 25 posts
  • Joined: 14-December 08
  • Location:Atlanta, GA

Posted Tue Jan 6, 2009 11:17 AM

View PostShannon, on Sun Jan 4, 2009 4:34 PM, said:

I've never seen any examples of why or what circumstances causes the ghosts to use the tunnels..

Let me also give a visual example which may help:

Posted Image

Pinky's target is 4 tiles up and left of Pac-Man when Pac-Man is facing up. This puts his target tile inside the left tunnel in this example, which is why he turns towards it.

-Jamey

#82  

    Space Invader

  • 25 posts
  • Joined: 14-December 08
  • Location:Atlanta, GA

Posted Wed Jan 7, 2009 10:11 PM

New version of the guide is up: http://home.comcast....cManDossier.pdf

I added a section on the ghost house (pgs. 12 & 13) that covers everything I found out including how to keep the ghosts trapped inside for as long as possible via a flaw in the logic.

Probably because there is so much involved with the different controls, this section was not easy to write, so let me know if something doesn't make sense.

-Jamey

#83  

    Born To Be Insane

  • 7,136 posts
  • Joined: 25-March 03
  • Pac-man Fever
  • Location:Arcade

Posted Wed Jan 7, 2009 11:43 PM

Forgot to ask. Couldn't remember if it was in the doc and maybe I just overlooked it.

But the original version of pacman had to be changed because it was too easy to use patterns. I used to know the patterns for the older one. But they changed it so those patterns didn't work. Of course the good players just came up with a set of patterns.

#84  

    Space Invader

  • 25 posts
  • Joined: 14-December 08
  • Location:Atlanta, GA

Posted Wed Jan 7, 2009 11:54 PM

View PostShannon, on Thu Jan 8, 2009 12:43 AM, said:

Forgot to ask. Couldn't remember if it was in the doc and maybe I just overlooked it.

But the original version of pacman had to be changed because it was too easy to use patterns. I used to know the patterns for the older one. But they changed it so those patterns didn't work. Of course the good players just came up with a set of patterns.

The second table in Appendix A shows how the levels are reordered via a difficulty jumper that is normally disconnected on the PCB. Once players figured this out, several bootleg modification packages for Pac-Man became popular with arcade operators. Bally Midway objected strenuously to the operators use of these unauthorized modification boards and eventually released Pac-Man Plus as a legitimate upgrade kit for Pac-Man.

Edited by jpittman, Wed Jan 7, 2009 11:56 PM.


#85  

    Space Invader

  • 25 posts
  • Joined: 14-December 08
  • Location:Atlanta, GA

Posted Sat Jan 10, 2009 3:05 PM

I finally figured out enough HTML to get the Pac-Man Dossier moved over to a web page: http://home.comcast....mandossier.html. Same text as the most recent .PDF, but with a table of contents and a ton of hyperlinks to make navigating the document very easy. This will remain its address from now on and all further revisions will be to the web page and not the .PDF. As usual, please advise if you find any mistakes.

-Jamey

#86  

    Space Invader

  • 25 posts
  • Joined: 14-December 08
  • Location:Atlanta, GA

Posted Mon Jan 12, 2009 2:51 PM

I found some cool .PDF scans of some old Midway operator manuals and troubleshooting guides for Pac-Man/Ms. Pacman and made 'em available on the website. Look in Appendix C for the links.

http://home.comcast....mandossier.html

-Jamey

#87  

    Space Invader

  • 25 posts
  • Joined: 14-December 08
  • Location:Atlanta, GA

Posted Tue Jan 13, 2009 8:21 PM

I added .PDF scans for two Pac-Man guides from the 1980s:

- How To Win At Pac-Man, by Penguin Books
- Break A Million At Pac-Man, by Ernest Zavisca, Ph.D. and Gary Beltowski

They are in Appendix D on the site: http://home.comcast....mandossier.html.

-Jamey

#88  

    Born To Be Insane

  • 7,136 posts
  • Joined: 25-March 03
  • Pac-man Fever
  • Location:Arcade

Posted Wed Jan 14, 2009 12:26 AM

That's it! I had that book "How To Win At Pac-Man" when I was a kid.

#89  

    Quadrunner

  • 5,831 posts
  • Joined: 24-November 04
  • Boom bam.
  • Location:Seattle, WA

Posted Wed Jan 14, 2009 11:41 AM

View Postjpittman, on Tue Jan 13, 2009 6:21 PM, said:

I added .PDF scans for two Pac-Man guides from the 1980s:

- How To Win At Pac-Man, by Penguin Books
- Break A Million At Pac-Man, by Ernest Zavisca, Ph.D. and Gary Beltowski

They are in Appendix D on the site: http://home.comcast....mandossier.html.

-Jamey
This is very cool; thanks for putting this all together.

#90  

    Space Invader

  • 25 posts
  • Joined: 14-December 08
  • Location:Atlanta, GA

Posted Wed Jan 14, 2009 11:48 AM

View Postvdub_bobby, on Wed Jan 14, 2009 12:41 PM, said:

View Postjpittman, on Tue Jan 13, 2009 6:21 PM, said:

I added .PDF scans for two Pac-Man guides from the 1980s:

- How To Win At Pac-Man, by Penguin Books
- Break A Million At Pac-Man, by Ernest Zavisca, Ph.D. and Gary Beltowski

They are in Appendix D on the site: http://home.comcast....mandossier.html.

-Jamey
This is very cool; thanks for putting this all together.

It was my pleasure, really. I always wanted a "comprehensive" Pac-Man resource that was highly detailed and accurate as to the ghost A.I and pathfinding abilities. It's grown a bit larger in size and scope than I had initially planned, but it's turning into a fairly decent web page that I'm glad to make available to everyone. :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users