Welcome to the Pac-Man Puzzle Game! This is a simple puzzle game inspired by the classic Pac-Man game. Your goal is to control Pac-Man and collect all the dots on the map while avoiding the walls. The game keeps track of your score as you collect the dots. Be careful not to collide with the walls, or you'll lose points. Complete all the levels to become a Pac-Man master!
- Use the arrow keys (up, down, left, right) to control Pac-Man's movement.
- Guide Pac-Man to collect all the dots on the map.
- Avoid colliding with the walls.
- Each dot collected will increase your score.
- Complete all the levels to win the game.
- If you collide with a wall, you'll lose points.
- Click the "Reset" button to start a new game.
- Clone this repository:
git clone https://github.com/your-username/pacman-puzzle-game.git
- Open the project directory.
- Open the
index.html
file in your web browser. - Start playing the Pac-Man Puzzle Game!
- You can modify the game's levels by editing the
level1.json
file. - Feel free to customize the game's CSS styles in the
styles.css
file. - Enhance the game's functionality by editing the JavaScript code in the
game.js
file.
This game was created using JavaScript, HTML5, and CSS. The Pac-Man sprite and other game assets were sourced from OpenGameArt.org.
This project is licensed under the MIT License.