Pac-Man Game
A classic Pac-Man game built with vanilla JavaScript and HTML5 Canvas.
Features
Classic Gameplay: Navigate Pac-Man through a maze while collecting food and avoiding ghosts
Smooth Movement: Responsive controls with direction buffer…
Pac-Man Game
A classic Pac-Man game built with vanilla JavaScript and HTML5 Canvas.
Features
Classic Gameplay: Navigate Pac-Man through a maze while collecting food and avoiding ghosts
Smooth Movement: Responsive controls with direction buffering for seamless gameplay
Smart AI Ghosts: Four different colored ghosts with randomized movement patterns
Score System: Earn 10 points for each food pellet collected
Lives System: Start with 3 lives, lose one when caught by a ghost
Level Progression: Complete levels by eating all food pellets
Game Over & Restart: Automatic restart functionality after game over