[Design Deliberation] Pac-Man Ghost AI Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2017
  • In this video I break down the behavior of Pac Mans's 4 iconic ghosts, and how they hunt Pac Man.
    Twitter Account: / chariotrideryt
    Rocket League Emergent Gameplay: • [Design Deliberation] ...
  • เกม

ความคิดเห็น • 139

  • @ItzAdrian02
    @ItzAdrian02 5 ปีที่แล้ว +125

    Blinky: The Chaser
    Pinky: The Ambusher
    Inky: The Unpredictable
    Clyde: The Dumbass

    • @smartyboy1097
      @smartyboy1097 5 ปีที่แล้ว +9

      Couldn’t have said it better myself

    • @ahkiureemshabazz4927
      @ahkiureemshabazz4927 3 ปีที่แล้ว +1

      Ha ha! Clyde, the dumbass. That's rich👍🏿

    • @internetduck1114
      @internetduck1114 3 ปีที่แล้ว +11

      Pac man: Is this the crusty crab?
      Clyde: No, this is clyde

    • @asfakmakrani4597
      @asfakmakrani4597 3 ปีที่แล้ว

      Kki

    • @Maxi-Gonz.
      @Maxi-Gonz. 2 ปีที่แล้ว +8

      I like to call them:
      Inky: The E-Boy
      Blinky: The Bully
      Pinky: The Stalker
      Clyde: The Evil friendly

  • @brycecollins7542
    @brycecollins7542 6 ปีที่แล้ว +85

    Fantastic analysis. I had no idea that any of the ghosts operated differently from one another but I can absolutely see how little changes like that were able to affect the success and longevity of the game.

  • @diacosiapentacontahex
    @diacosiapentacontahex 3 ปีที่แล้ว +27

    It never fails to confound me why Inky was always depicted as the 'dumb' one instead of Clyde, who is clearly the stupidest of the four. Blinky takes the direct approach and Pinky tends to strategize (though the unpredictability of Pac-Man himself can usually throw her off) and Clyde is just... there, but Inky is by far not only the most complex but also the smartest of the group, being able to calculate Blinky's distance relative to the pivot two tiles in front of wherever Pac-Man is facing at all times, rotate it 180 degrees and target that position to work together with Blinky to corner Pac-Man alongside Pinky's more natural approach. He's easily the smartest ghost in the game, and it confuses me to no end why the promotional art depicted him as cross-eyed and clumsy.

    • @mohamedmustafa3991
      @mohamedmustafa3991 2 ปีที่แล้ว

      Bhhgbbggggggg

    • @mohamedmustafa3991
      @mohamedmustafa3991 2 ปีที่แล้ว

      Xxxx

    • @bluberrydee6205
      @bluberrydee6205 ปีที่แล้ว +2

      i see it as clyde being too scared to confront pac-man up close, and inky having the least predictable behavior of the 4 can work as him being the more wacky one
      idk

    • @_antisocialmedia6377
      @_antisocialmedia6377 ปีที่แล้ว +2

      Given that promotional art also used to get Blinky and Clyde's names mixed up, I wouldn't exactly treat it as the end-all on personalities

    • @eztak.
      @eztak. ปีที่แล้ว +3

      you see, acting stupid is part of his plan to take you off guard

  • @sirreality9811
    @sirreality9811 2 ปีที่แล้ว +7

    Blinky and Pinky: Yaaaaaaay! Recess!
    10 seconds later, their Pacman senses exist:
    Blinky and Pinky: Oh fuck! We gotta kill Pacman

  • @kingtrophyguide4362
    @kingtrophyguide4362 2 ปีที่แล้ว +7

    Blinky: The Most aggressive ghost and the responsible leader of the ghosts who always chases Pacman directly
    Pinky: Represents as the only female ghost who tries to ambush Pacman.
    Inky: The Most unpredictable ghost who scares easily for some reason. Sometimes he can also chase Pacman aggressively like Blinky.
    Clyde: The only ghost who acts mostly stupid, but only if sees Pacman, he retreats.

  • @FictionFactoryGames
    @FictionFactoryGames 6 ปีที่แล้ว +113

    It's kind of a shame that such a rich series of interwoven AI are generally ignored by top-tier players, who are operating off memorized patterns. There's no true randomness so it's designing a path that always completely avoids ghosts is possible.

    • @McD_James
      @McD_James 6 ปีที่แล้ว +12

      Fortunately, Ms. Pac-Man was able to correct this issue.

    • @veggiet2009
      @veggiet2009 5 ปีที่แล้ว +11

      I don't know if they're ignoring them, but rather acknowledging that they are in fact predictable, they only seem clever or random, but as the video just explained they will always do certain things at certain points in the game. That predictability is what allows that pattern to be constructed in the first place.

    • @mnurularifin9804
      @mnurularifin9804 5 ปีที่แล้ว

      Ismaiying

    • @robertcollins596
      @robertcollins596 2 ปีที่แล้ว

      Lol E

    • @sakalanarsimlu1750
      @sakalanarsimlu1750 ปีที่แล้ว

      @@McD_James mkmjyhggvvggggggggz

  • @rubikonium9484
    @rubikonium9484 4 ปีที่แล้ว +7

    11:05 the bug in the code is caused by an overflow error in the vector code which treats the X and Y 8 bit vectors as a single 16 bit vector.
    Left: 01 00
    Right: FF 00
    Down: 00 01
    Up: 00 FF
    The up vector is bugged as the FF in the Y vector when multiplied decreases, but what should have been discarded instead rolls over into the X vector.
    Examples: (00 FF) * 4 = (00 3FC) which instead of discarding the 3 (00, (3)FC), the 1 rolls over into the X vector (*03* FC)
    examples: 00FF = (1, -1)
    01FE = (2, -2)
    02FD = (3, -3)
    03FC = (4, -4)
    A possible fix to the up vector is to set the Y AND X vectors to FF (so FF FF), so that when the vector is multiplied (e.g. ×2 = 1FF FE) the overflow is discarded. (1FF FE -> FF FE)
    This is evident when adding the vectors
    Adding these vectors to, say, (2A, 2C):
    Adding left vector: (2B, 2C)
    Adding right vector: (129, 2C) -> (29, 2C)
    Adding down vector: (2A, 2D)
    Adding current (bugged) up vector: (2A, 12B) -> (2B, 2B)
    Adding fixed up vector: (129, 12B) -> (12A, 2B) -> (2A, 2B)
    Leave comments if you have a different reason of the bug

    • @dumb_logan
      @dumb_logan 4 ปีที่แล้ว

      What did I just experience

  • @round5soundsfetchmetheirso827
    @round5soundsfetchmetheirso827 4 ปีที่แล้ว +14

    So Blinky is the only threatening AI, the rest are just moving death sprites that are there for you to accidentally bump into.

  • @westcoastbred7745
    @westcoastbred7745 2 ปีที่แล้ว +3

    My childhood nostalgia. I miss this game

  • @johnmclean5691
    @johnmclean5691 3 ปีที่แล้ว +4

    I still remember getting to the countless keys I got. I had my patterns down. Good stuff

  • @DJNX4995
    @DJNX4995 3 ปีที่แล้ว +5

    Blinky is the only ghost that targets the player wow

    • @kingtrophyguide4362
      @kingtrophyguide4362 2 ปีที่แล้ว +2

      Yes, Blinky's always aggressive. He's also the responsible leader of the ghosts.

    • @user-to7up1dl3d
      @user-to7up1dl3d ปีที่แล้ว +2

      Yes, Blinky is the one that chases you.
      Also, Pinky is the one that gets in front of you to cut you off, Inky thinks of a strategy to corner you, and Clyde is the scared one that plays dumb to catch Pac-Man off guard.

  • @discontinuedfornow.4329
    @discontinuedfornow.4329 5 ปีที่แล้ว +13

    Blinky:Aggressive and Hard to break.
    Pinky:Stays behind Blinky or Inky.
    Inky: Questionable?
    Clyde:Lazy and dosen't attack you but can still kill you.

  • @Insanityltself
    @Insanityltself 10 หลายเดือนก่อน +2

    That awkward moment when Clyde is the one who catches you

  • @victormgv
    @victormgv 6 ปีที่แล้ว +3

    Well done! Seriously great content and Barney Style breakdown; LOVING IT

  • @mishmeshmonster2482
    @mishmeshmonster2482 6 ปีที่แล้ว

    Brilliant video! Super informative and well presented.

  • @TuangDheandhanoo
    @TuangDheandhanoo 6 ปีที่แล้ว +1

    I learn a lot of new things today. Thank you so much!

    • @6kourte650
      @6kourte650 6 ปีที่แล้ว

      which is your favorite gohst mines is inky he is sooooooooo unpredictable

  • @ahkiureemshabazz4927
    @ahkiureemshabazz4927 3 ปีที่แล้ว +1

    I❤ this video and all of the info
    Just got this on PS4. Been playing since the 80s. Pac😁Man just got much more fun.
    Thanks man👍🏿

  • @terepashinogenjitsu
    @terepashinogenjitsu ปีที่แล้ว +1

    "please pardon my Japanese pronunciation" *proceeds to pronounce everything correctly with no difficulty*

  • @user-up5oh1uo9d
    @user-up5oh1uo9d 5 ปีที่แล้ว +7

    Wait what's the point of Clyde (apart from being adorable)
    I thought it was gonna be "Clyde's Corner" where basically he just guards/moves around the corner *neighbouring* the players current corner until the player comes in close and he targets them.

    • @alstewart3809
      @alstewart3809 4 ปีที่แล้ว

      To scare the player and then go were the other 3 ghost can fight him

    • @Maxi-Gonz.
      @Maxi-Gonz. 2 ปีที่แล้ว +7

      It's a support class ghost who tries to scare the player unaware of his movement pattern

    • @shouldbeyoyo
      @shouldbeyoyo 2 ปีที่แล้ว

      scares the player, but if he manages to catch you while he goes to his corner and you get in his way

  • @KingofKong
    @KingofKong 5 ปีที่แล้ว +2

    Really nice review, very accurate.

  • @sirkowski
    @sirkowski 6 ปีที่แล้ว +30

    Is Clyde a tsundere?

    • @discontinuedfornow.4329
      @discontinuedfornow.4329 5 ปีที่แล้ว +2

      Yep.

    • @ScumSookar
      @ScumSookar 4 ปีที่แล้ว

      Could it be that you're craving my power pellets, Pac-Kun?

    • @AF.281OldChannel
      @AF.281OldChannel 4 ปีที่แล้ว

      sirkowski No, he is a ghost that drinks alcohol for no reason

  • @rileymurphy5396
    @rileymurphy5396 6 ปีที่แล้ว +19

    I know it's "elroy", but can we just call it "LEEROY JENKINS!"?

  • @kiltadvocate1394
    @kiltadvocate1394 6 ปีที่แล้ว +1

    Very deep. 🌟 Thanks for sharing.

  • @jonasphilbert6175
    @jonasphilbert6175 6 ปีที่แล้ว +4

    Great video!

  • @warmac88
    @warmac88 5 ปีที่แล้ว +1

    Great video bro

  • @GmanMilli
    @GmanMilli 6 ปีที่แล้ว +2

    11:50 I've read that its 2 spaces in front (unlike Pinkys 4 tiles in front) determines the midpoint of the 2nd vector. Can provide some links.

  • @edsbegaming507
    @edsbegaming507 5 ปีที่แล้ว +13

    I honestly thought everyone knew that each ghost acted differently 😅

  • @bluberrydee6205
    @bluberrydee6205 ปีที่แล้ว

    i see speedy as "trying to speed ahead" of pac man

  • @raresideb
    @raresideb 3 ปีที่แล้ว +1

    To anyone who tries to say RGEX's video is better...well, you're right, but keep in mind this video came out in 2017. On that note, great work!

    • @Chariot_Rider
      @Chariot_Rider  3 ปีที่แล้ว +1

      That video is most certainly better. I made this video as my second attempt at this sort of "video essay" style, and looking back on the video I am not entirely happy with it because it isn't super reflective my content nowadays. I made this video when I was still in high school, and I have learned a lot about writing and video production in the years since this video was released

  • @gabejackson1958
    @gabejackson1958 5 ปีที่แล้ว +22

    Clyde is up to something and I don't like it.

  • @simonmaracine4721
    @simonmaracine4721 6 ปีที่แล้ว +2

    I like the ending.

  • @GmanMilli
    @GmanMilli 6 ปีที่แล้ว +1

    A useful cheat for training while playing would be showing each ghost's target and turn decision for its upcoming intersection. This would have been a useful debugging tool as well.

  • @victordennis9913
    @victordennis9913 6 ปีที่แล้ว +15

    Does this AI also exist in Ms. Pac Man?

    • @Chariot_Rider
      @Chariot_Rider  6 ปีที่แล้ว +17

      I haven't done a super deep look into Mrs. Pac Man's AI but from what I have heard it added more random elements to the behaviors. The general feel of each of the ghosts was similar with randomness thrown in. That's why Mrs. Pac Man was a lot harder for high level players because they couldn't rely so much on patterns. In fact I think it took a highly trained computer from Microsoft to beat the game with a perfect score.

    • @Chariot_Rider
      @Chariot_Rider  6 ปีที่แล้ว +6

      I also forgot to mention that Toru Iwatani was not involved with Mrs. Pac Man's develpment was handled by Midway, the American company that helped Namco bring Pac Man to the west so he had no say in the changes made from one version to the next because he worked for Namco, not Midway.

    • @llSuperSnivyll
      @llSuperSnivyll 5 ปีที่แล้ว +1

      As far as I understand, it's the same AI, but they have some random elements added to prevent perfect play patterns from happening.

    • @trifortay
      @trifortay 5 ปีที่แล้ว

      Someone said it does the some thing Ms Pac Man's has an ai to make harder because it is possible to beat Pac Man with a certain pattern every time. In Ms. Pac Man good luck with that pattern

  • @Eventlesstew
    @Eventlesstew ปีที่แล้ว

    5:05 What are the exact Power Pellet times per level?

  • @blackturbine
    @blackturbine 5 ปีที่แล้ว +2

    12:01 whistle

    • @SpeckyYT
      @SpeckyYT 4 ปีที่แล้ว

      Lol, I can hear it too

  • @montyoso
    @montyoso 6 ปีที่แล้ว

    Great video.

  • @Rodney.Gardner
    @Rodney.Gardner 6 ปีที่แล้ว +3

    Typo at 1:17 ? Should be 288 instead of 228?

  • @40watt53
    @40watt53 5 ปีที่แล้ว +2

    can you do one for pacman 256 the only patterns i know are
    pinky: when player is in the same line and pinky they will run in that direction until hitting a wall
    spunky: doesnt move until a player is near then chases the player for a few seconds then falls back asleep
    inky: goes around an object
    sue: stays in groups of 3 tries to block the player from going forwards
    funky: bounces from the left to the right in groups of 4
    im not sure about these next ones
    blinky: appears in later game tries to get infront of player
    clyde: blinky but more calm
    but i dont got a clue about glitchy

  • @sa3270
    @sa3270 2 หลายเดือนก่อน

    I've been wondering if Pac-Man's route during the demo sequence is an "AI", or just a simple explicitly coded route.

  • @twizzpaw900
    @twizzpaw900 3 ปีที่แล้ว +3

    Hey everyone I've been looking through the Pac-Man Fan wiki on all the Ghost listed and for some reason there is this ghost character named, "Plonky". They were the only ghost character to get deleted from the wiki and I wanna who they are, if anyone finds anything send a reply. I just find it weird you know, out of all the crazy Pac-ghost I have heard and looked up, this one is just gone.
    Weird...

    • @camelpenguin
      @camelpenguin ปีที่แล้ว

      Hey! Your comment is 1 year old, and I'm the first person to reply to you, how's it been? I wanna know more about this "plonky" ghost, i hope you're still around

    • @camelpenguin
      @camelpenguin ปีที่แล้ว

      Bro why u deleted your reply

    • @twizzpaw900
      @twizzpaw900 ปีที่แล้ว +1

      @@camelpenguin Idk, maybe by accident???...

    • @camelpenguin
      @camelpenguin ปีที่แล้ว

      @@twizzpaw900 what did u said

    • @twizzpaw900
      @twizzpaw900 ปีที่แล้ว

      @@camelpenguin Can you see my replay at all???????..........:(

  • @Seventeen_Seconds
    @Seventeen_Seconds 2 ปีที่แล้ว

    Ahhhh those were the days ❤️

  • @brilliantarrow4125
    @brilliantarrow4125 6 ปีที่แล้ว

    Great video man! Just one quick question... the fuck does inky do again??

  • @bigboygoomba5421
    @bigboygoomba5421 2 ปีที่แล้ว +1

    The only thing that I am looking for is what their names is

  • @DowntownWithBrown
    @DowntownWithBrown 5 ปีที่แล้ว +2

    The ghosts were not given genders until the Pac-Man World series, so arguably Pinky was male like the rest of them in the arcade era. Minor unimportant note.

    • @raylewis60
      @raylewis60 3 ปีที่แล้ว

      not true theres some artwork that shows that Pinky is indeed female

  • @waffle5422
    @waffle5422 5 ปีที่แล้ว +2

    What about pac mania?

  • @nachfullbarertrank5230
    @nachfullbarertrank5230 6 ปีที่แล้ว +15

    BASED ON HIS ORIGINAL JAPANESE NAME

  • @sunnymon1436
    @sunnymon1436 6 ปีที่แล้ว +4

    Was this video later stolen by the "Today I Learned" Channel?

    • @Chariot_Rider
      @Chariot_Rider  6 ปีที่แล้ว +3

      Sunny Mon It is possible but I don’t think so. A lot of the research for this video came from a certain gamasutra article which laid out the specifics behind the Pac Man AI. In the description the the “Today I Learned” video they lost their sources and sure enough the same article was there. It is probably a coincidence.

  • @karlitaavatar4430
    @karlitaavatar4430 6 ปีที่แล้ว

    Silly Clyde

  • @felipesantanadoamaral680
    @felipesantanadoamaral680 2 ปีที่แล้ว +1

    INKY STOP HIDE CLYDE

  • @colinedwards3237
    @colinedwards3237 6 ปีที่แล้ว

    Here's a video demonstrating some of the concepts discussed
    th-cam.com/video/Yy1o4RQ848A/w-d-xo.html

  • @-_bananaman_-5042
    @-_bananaman_-5042 6 ปีที่แล้ว

    This video have some real research is it?

    • @javiehr
      @javiehr 5 ปีที่แล้ว

      yes literally everything he said was tru

  • @malismedicoremusicalmedia
    @malismedicoremusicalmedia 5 ปีที่แล้ว +2

    Thumbs up if you say shadow speedy bashful and pokey
    Blinky. Pinky. Inky. And clyde

  • @Dude408f
    @Dude408f 6 ปีที่แล้ว

    This was interesting. I hated the game in the past and I still do, but your information is very good :)

  • @cheriftekouk7870
    @cheriftekouk7870 6 ปีที่แล้ว +2

    BLINKEY is still the hottest one for me

  • @blucatt1k
    @blucatt1k 3 ปีที่แล้ว

    Here before 1million views y'all

  • @SS-pm3px
    @SS-pm3px ปีที่แล้ว

    1:04

  • @LXW-Arts
    @LXW-Arts 5 ปีที่แล้ว +1

    Cylde was like fuck the Pixel movie size pacman

  • @andreap28
    @andreap28 3 ปีที่แล้ว +1

    Its not al it’s all

  • @Summeryear2008
    @Summeryear2008 6 ปีที่แล้ว

    4:09 Does the timer reset if they enter Frightened Mode? I'm watching this video on youtube: th-cam.com/video/AuoH0vz3Mqk/w-d-xo.html
    I'm just wondering. I'm studying the chart, although it's useless to try in my room here because I lost my Sega a long time ago, and I don't know how to get it to work again.

    • @Chariot_Rider
      @Chariot_Rider  6 ปีที่แล้ว +1

      So I just booted up Pac Man and did some quick tests. It would appear that when the ghosts enter frightened mode their phase timer pauses. When they leave frightened mode they resume their pattern. So I eat a power pellet 10 seconds into the 20 second chase phase, the ghosts will be in chase mode for 10 seconds after they exit frightened mode. Hopefully this answers your question.

  • @SS-pm3px
    @SS-pm3px ปีที่แล้ว

    8:21

  • @CrustyConnor
    @CrustyConnor 6 ปีที่แล้ว +1

    3:26, "The top left corner belongs to Pinky, The top left to Blinky" ???

    • @busterbackster1
      @busterbackster1 6 ปีที่แล้ว +1

      Straight Wormin he has a text correction

  • @SS-pm3px
    @SS-pm3px ปีที่แล้ว

    1.04

  • @daniyusra
    @daniyusra 6 ปีที่แล้ว

    Good stuff dude!

  • @infinite1der
    @infinite1der 5 ปีที่แล้ว

    The ghosts are not using an AI. Their movements are controlled by an algorithm.

    • @tiporial
      @tiporial 5 ปีที่แล้ว +4

      Yep, that's an AI!

  • @commandershirakamifubukiav9680
    @commandershirakamifubukiav9680 3 ปีที่แล้ว +1

    blinky:what the hell pac man
    pac man:eat blinky lmao

  • @erickvazquez2415
    @erickvazquez2415 ปีที่แล้ว

    I feel like the ghost need to be smarter

  • @kittyweeb5293
    @kittyweeb5293 5 ปีที่แล้ว +1

    You’re overthinking this

    • @dumb_logan
      @dumb_logan 4 ปีที่แล้ว

      Oh thank God I'm not the only one

  • @BandicootMilk
    @BandicootMilk 6 ปีที่แล้ว +1

    they ruined the ai on facebook they act like a tryhard player

  • @yellowsunshine7099
    @yellowsunshine7099 5 ปีที่แล้ว +1

    Is this real

  • @bommy9857
    @bommy9857 6 ปีที่แล้ว

    Hey level 18 is very short time but they do turn blue for a split seciund. A nes video if gameplay actually ahows the person beating a ghost with as soon as he ate the pellete, then it went back just then. Proving your statement wrong

  • @sansdeskeleton2842
    @sansdeskeleton2842 6 ปีที่แล้ว

    Aw CRAP I can't kill anybody maybe the other four ghosts can do our job

  • @catman1900
    @catman1900 6 ปีที่แล้ว +1

    awesome video!

  • @daniyusra
    @daniyusra 6 ปีที่แล้ว

    Good stuff dude!