Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ourcade/pac-man-ghost-ai-phaser3

Pac-Man Ghost AI implemented in Phaser 3 with TypeScript
https://github.com/ourcade/pac-man-ghost-ai-phaser3

pac-man phaser-tutorial phaser3 phaserjs starter-project starter-template typescript

Last synced: about 19 hours ago
JSON representation

Pac-Man Ghost AI implemented in Phaser 3 with TypeScript

Awesome Lists containing this project

README

        

# Pac-Man Ghost AI in Phaser 3
> An example or starter project for a Pac-Man-style game with original Ghost AI

![License](https://img.shields.io/badge/license-MIT-green)

## 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](https://www.youtube.com/playlist?list=PLNwtXgWIx3rgKV7k3ZlV1S4qUsl9j8YDI) where we go over implementing each ghost AI using the State Pattern.

[Check out a demo here](https://ourcade.co/templates/pac-man-starter-template).

## Getting Started

Clone this repository with `git-lfs` and run:

```bash
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](https://github.com/ourcade/pac-man-ghost-ai-phaser3/releases/tag/latest).

## License

[MIT License](https://github.com/ourcade/pac-man-ghost-ai-phaser3/blob/master/LICENSE)