Pac-man built using vanilla JavaScript, HTML, and CSS. Including character animations, collision detections between Pac-man and ghosts, and attack capability using the p5.js library.
Demo Link 👉 https://amoldalwai.github.io/pac-man/
- Controlpac-man movement with arrow keys
- Ghosts moves randomly to catch the pac-man
- Pac-man ovjective is to collect all the dots in the maze
- Pac-man can eat fruit and chase down the ghosts and kill it , but ghosts gets respawned.
- Collision Detection
- Score tracking
Run index.html on browser (eg. Chrome)