This repository contains an implementation of the classic arcade game Pacman. The project is developed using modern web technologies such as HTML5, CSS3, and JavaScript to provide a responsive and interactive gaming experience.
In this Pacman game, the player takes control of the character Pacman, navigating through a maze while consuming pellets and avoiding ghosts. The main objective of the game is to eat all the pellets in the maze without being caught by the ghosts.
- Classic Pacman maze layout
- Four different ghosts with unique behaviors
- Score tracking and lives system
- Responsive design for a seamless experience on various devices
To run the Pacman game locally on your machine, follow these steps:
- Clone the repository:
git clone https://github.com/DamiGbot/Pacman.git
- Navigate to the project directory:
cd src
- Open the
index.html
file in your preferred web browser.
- Use the arrow keys on your keyboard to navigate Pacman through the maze.
- Eat all the pellets to complete the level.
- Avoid the ghosts. If Pacman comes into contact with a ghost, a life will be lost. The game ends when all lives are lost.