Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ourcade/pac-man-ghost-ai-phaser3
- Owner: ourcade
- License: mit
- Created: 2020-05-22T14:55:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T18:27:40.000Z (over 1 year ago)
- Last Synced: 2024-09-18T17:14:36.508Z (7 days ago)
- Topics: pac-man, phaser-tutorial, phaser3, phaserjs, starter-project, starter-template, typescript
- Language: TypeScript
- Homepage: https://ourcade.co/templates/pac-man-starter-template
- Size: 4.35 MB
- Stars: 27
- Watchers: 5
- Forks: 15
- Open Issues: 8
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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)