AtariAge Forums: Pac-Man ghost AI question - AtariAge Forums

Jump to content

  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

Pac-Man ghost AI question

User is offline jpittman Icon
Posted Thu Jan 1, 2009 4:24 AM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 22
  • Joined: 14-December 08
  • Location: Atlanta, GA
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
0

User is offline jpittman Icon
Posted Sun Jan 4, 2009 8:44 AM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 22
  • Joined: 14-December 08
  • Location: Atlanta, GA
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
0

User is offline jpittman Icon
Posted Sun Jan 4, 2009 1:24 PM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 22
  • Joined: 14-December 08
  • Location: Atlanta, GA
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
0

User is offline Shannon Icon
Posted Sun Jan 4, 2009 3:34 PM

    • Pac-man Fever


  • Icon
  • Born To Be Insane
  • PM this member
  • View blog
  • Posts: 6,921
  • Joined: 25-March 03
  • Location: Arcade
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..
0

User is offline jpittman Icon
Posted Sun Jan 4, 2009 3:44 PM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 22
  • Joined: 14-December 08
  • Location: Atlanta, GA

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
0

User is offline jpittman Icon
Posted Tue Jan 6, 2009 11:17 AM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 22
  • Joined: 14-December 08
  • Location: Atlanta, GA

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
0

User is offline jpittman Icon
Posted Wed Jan 7, 2009 10:11 PM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 22
  • Joined: 14-December 08
  • Location: Atlanta, GA
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
0

User is offline Shannon Icon
Posted Wed Jan 7, 2009 11:43 PM

    • Pac-man Fever


  • Icon
  • Born To Be Insane
  • PM this member
  • View blog
  • Posts: 6,921
  • Joined: 25-March 03
  • Location: Arcade
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.
0

User is offline jpittman Icon
Posted Wed Jan 7, 2009 11:54 PM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 22
  • Joined: 14-December 08
  • Location: Atlanta, GA

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.

This post has been edited by jpittman: Wed Jan 7, 2009 11:56 PM

0

User is offline jpittman Icon
Posted Sat Jan 10, 2009 3:05 PM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 22
  • Joined: 14-December 08
  • Location: Atlanta, GA
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
0

User is offline jpittman Icon
Posted Mon Jan 12, 2009 2:51 PM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 22
  • Joined: 14-December 08
  • Location: Atlanta, GA
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
0

User is offline jpittman Icon
Posted Tue Jan 13, 2009 8:21 PM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 22
  • Joined: 14-December 08
  • Location: Atlanta, GA
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
0

User is offline Shannon Icon
Posted Wed Jan 14, 2009 12:26 AM

    • Pac-man Fever


  • Icon
  • Born To Be Insane
  • PM this member
  • View blog
  • Posts: 6,921
  • Joined: 25-March 03
  • Location: Arcade
That's it! I had that book "How To Win At Pac-Man" when I was a kid.
0

User is offline vdub_bobby Icon
Posted Wed Jan 14, 2009 11:41 AM

    • Boom bam.


  • Icon
  • Quadrunner
  • PM this member
  • View blog
  • Posts: 5,750
  • Joined: 24-November 04
  • Location: Seattle, WA

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.
0

User is offline jpittman Icon
Posted Wed Jan 14, 2009 11:48 AM


  • Icon
  • Space Invader
  • PM this member
  • Posts: 22
  • Joined: 14-December 08
  • Location: Atlanta, GA

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. :)
0

  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic


1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users