Today is Pac-Man’s 40th birthday! I actually only found out about this from the Gamedev.js Weekly newsletter
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