Pacman

Introduction

Pacman is the legendary arcade game that revolutionized the gaming industry when it was released in 1980. This HTML5 recreation brings the classic maze-chase experience to your browser. You control Pac-Man, a yellow circular character with an insatiable appetite, as he navigates through a maze filled with dots while avoiding four colorful ghosts. The game's simple yet addictive gameplay has made it one of the most recognizable and beloved video games of all time.

Gameplay

Navigate Pac-Man through a maze consuming all the dots while avoiding four ghosts: Blinky (red), Pinky (pink), Inky (cyan), and Clyde (orange). Each ghost has its own unique behavior pattern. When you eat a large 'Power Pellet' in the corners of the maze, the ghosts turn blue and become vulnerable, allowing you to eat them for bonus points. The game progresses through multiple levels, each with increasing difficulty as the ghosts become faster and more aggressive. Clear all dots to advance to the next level. Eating consecutive ghosts during a power-up yields increasing bonus points.

Controls

Use the Arrow Keys (Up, Down, Left, Right) to move Pac-Man through the maze. On mobile devices, swipe in the desired direction or use the on-screen touch controls. The game starts automatically when you press any direction key. Press P or Escape to pause the game. Your score and remaining lives are displayed at the top of the screen.

Copyrights

source code