🟡 Pac-Man

Navigate the maze, eat all the pellets, and avoid the ghosts in this classic arcade game!

Controls:

Move: Arrow Keys or WASD

Spacebar: Start/Pause | R: Reset

Goal: Eat all pellets to win!

🏆 High Scores

Loading scores...

Game Info

Difficulty:Medium
Players:1 Player
Genre:Arcade
Year:1980 (Original)

How to Play

Objective:

Eat all the pellets in the maze while avoiding the ghosts.

Controls:
  • Arrow Keys or WASD to move
  • Spacebar to start/pause
  • R to reset the game
Scoring:
  • Small pellets: 10 points
  • Power pellets: 50 points
Power Pellets:

Large yellow pellets that make ghosts vulnerable temporarily.

Features

Classic maze layout
Smooth player movement
Pellet collection
Power pellets
Score tracking
Win condition

Technical Details

Built with: React 19, TypeScript
Graphics: HTML5 Canvas
Animation: requestAnimationFrame
Controls: Keyboard event handling
Game Loop: Real-time updates