A fun, multi-level Pac-Man game.
- Arrow keys or WASD controls for Pac-Man
- Four ghosts (blue, pink, orange, red)
- Collect all food to advance levels
- Lives system and game over/win states
- Score system with high score saved in
localStorage. - Three unique maze levels with food placement
- Smooth animations and collision detection
- Use Arrow keys or WASD to move Pacman.
- Collect all the food to advance to the next level.
- Avoid ghosts — losing all lives ends the game.
- High score is saved automatically.
- Up / W: Move up
- Down / S: Move down
- Left / A: Move left
- Right / D: Move right
- JavaScript
- HTML5 Canvas
- CSS
This project is open-source. Feel free to use and modify it!