[Phaser 3] Pac-Man Ghost AI's

Today is Pac-Man’s 40th birthday! I actually only found out about this from the Gamedev.js Weekly newsletter :sob:

But coincidentally I was working on a YouTube series to implement each of the 4 ghost AI’s in Phaser 3 and TypeScript. It was planned to be released next week but I just moved it up in celebration of the pellet eating yellow monster’s birthday.

I always find recreating the Pac-Man ghost AI’s quite fun given how clever they are.

Here’s the source if you are interested: https://github.com/ourcade/pac-man-ghost-ai-phaser3

There’s a demo here but it requires keyboard input: https://ourcade.co/templates/pac-man-starter-template


Hi, it looks nice, thanks for sharing!