This is a repost from the main ourcade channel: [ Ссылка ]
Want to learn more about using TypeScript with Phaser 3? We have a free book that teaches you how to create an Infinite Runner. Get it here: [ Ссылка ]
Have you ever wondered how the ghost artificial intelligence in #PacMan worked? Or how you would go about coding an #AI? In this series, we'll take a look at a basic way of creating AI for games using Pac-Man ghosts as an example in #Phaser3 and #TypeScript
In part 6, we code the final AI ghost behavior for Clyde by composing Blinky's Chase AI and a Scatter AI. 😎
Check out the demo and get the full source code here: [ Ссылка ]
* Complete Series *
Part 1: [ Ссылка ]
Part 2: [ Ссылка ]
Part 3: [ Ссылка ]
Part 4: [ Ссылка ]
Part 5: [ Ссылка ]
Part 6: [ Ссылка ]
Understanding Pac-Man Ghost Behavior: [ Ссылка ]
Pac-Man Ghost AI Explained: [ Ссылка ]
Ourcade is a playful #gamedev community for open-minded and optimistic learners and developers. 🎮🕹👾🤗 [ Ссылка ]
![](https://i.ytimg.com/vi/ga4IKmk_Sbc/maxresdefault.jpg)