Skip to content

ourcade/pac-man-ghost-ai-phaser3

Repository files navigation

Pac-Man Ghost AI in Phaser 3

An example or starter project for a Pac-Man-style game with original Ghost AI

License

Overview

This is an example or starter project for a Pac-Man-style game with the original ghost AI behaviors for Blinky, Pinky, Inky, and Clyde.

Power pellets and general level design is not implemented.

The code corresponds to a 6 part series on YouTube where we go over implementing each ghost AI using the State Pattern.

Check out a demo here.

Getting Started

Clone this repository with git-lfs and run:

npm install
npm run start

If you don't have git-lfs installed then get it here: https://git-lfs.github.com

All the image and audio files in this repository is stored with git-lfs. Alternatively you can download a zip from the releases tab.

License

MIT License