https://github.com/aveek-saha/pac-man
🕹 A recreation of the classic Pac-Man game with better AI for the ghosts.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
â—‹CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
â—‹.zenodo.json file
-
â—‹DOI references
-
â—‹Academic publication links
-
â—‹Academic email domains
-
â—‹Institutional organization owner
-
â—‹JOSS paper metadata
-
â—‹Scientific vocabulary similarity
Low similarity (8.0%) to scientific vocabulary
Keywords
Repository
🕹 A recreation of the classic Pac-Man game with better AI for the ghosts.
Basic Info
- Host: GitHub
- Owner: Aveek-Saha
- License: mit
- Language: JavaScript
- Default Branch: master
- Homepage: https://home.aveek.io/Pac-Man/
- Size: 2.3 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Pac-Man
A re-creation of the classic Pac-Man game created using Phaser. The ghosts use improved AI to track down Pac-Man faster.
Play it here: Pac-Man
Ghost AI
- The game map is represented as a 2D array where each cell has either a
0or1. - Walls are represented by
0and1is a traversable path. - This 2D array is passed to the
A*function which returns an array of steps the ghosts should follow. - The function uses the
A* algorithmto find the best path for the ghosts to take to reach Pac-Man.
Since Pac-Man's position is constantly changing, we only need to get the first step from the array of steps and move the ghost. The path that the ghosts take is highlighted by tracing the path returned by the A* function.
Controlling Pac-Man
Use the arrow keys to control Pac-Man
Move right: 🠊 | Move left: 🠈 | Move up: 🠉 | Move down: 🠋
The game ends when a ghost catches you, refresh the page to restart.
Gameplay

Development
To develop, clone the repo and start the dev server
git clone git@github.com:Aveek-Saha/Pac-Man.git
cd Pac-Man
npm start
This will automatically open http://localhost:8080/
Assets
All assets are from kenney.nl
Team
This project was a team effort by
| Name | GitHub Profile | |:---:|:---:| | Aveek Saha | aveek-saha | | Gopal Nambiar | gopuman | | Arvind Srinivasan | arvindsrinivasan |
Owner
- Name: Aveek Saha
- Login: Aveek-Saha
- Kind: user
- Location: Boston, MA
- Company: @akamai
- Website: home.aveek.io
- Repositories: 66
- Profile: https://github.com/Aveek-Saha
Cloud Computing, Machine Learning and Full Stack. SDE co-op @akamai. MSCS student @northeastern. Previously at @HewlettPackard, @altimetrik & @ IIT Kgp.
GitHub Events
Total
Last Year
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- Aveek-Saha (1)