Skip to content

SretkoSreten/Pacman

Repository files navigation

Pacman Game

The Pacman Game is a classic arcade game that has been enjoyed by millions of players worldwide. This GitHub repository contains the source code and assets for the Pacman game, allowing you to play and customize the game according to your preferences.

Gameplay

In the Pacman game, the player controls a character named Pacman, represented by a small yellow circle. The objective is to navigate through a maze while eating all the dots or pellets scattered throughout. However, the game isn't that simple as there are four ghosts that are constantly chasing Pacman and trying to catch him.

The player must guide Pacman through the maze, avoiding the ghosts' paths and strategically eating power pellets that temporarily allow Pacman to turn the tables and chase the ghosts. When Pacman eats a power pellet, the ghosts turn blue, becoming vulnerable and allowing Pacman to eat them for extra points.

The game consists of multiple levels, with each level becoming progressively more challenging. As the player advances, the ghosts become faster and more difficult to evade. The goal is to achieve the highest score possible by eating all the pellets and avoiding being caught by the ghosts.

Controls

The game can be controlled using the following keyboard keys:

  • Arrow Keys: Use the arrow keys (up, down, left, right) to navigate Pacman through the maze in the desired direction.

Technologies Used

The Pacman Game is developed using the following technologies:

  • HTML: The structure and layout of the game are built using HTML.
  • CSS: CSS is used for styling and visually enhancing the game elements.
  • JavaScript: The game logic, movement, collision detection, and scoring are implemented using JavaScript.

Installation

To run the Pacman Game locally, follow these steps:

  1. Clone the repository: git clone https://github.com/your-username/pacman-game.git
  2. Open the index.html file in your preferred web browser.
  3. Start playing the Pacman game and enjoy!

Customization

Feel free to customize the Pacman game according to your preferences. You can modify the game elements, such as the maze layout, Pacman's appearance, ghost behavior, or even add new features. Explore the code and assets provided in the repository to make your desired changes.

Contribution

Contributions to the Pacman Game are welcome! If you would like to contribute, please follow the guidelines outlined in the [Contributio

Contact

If you have any questions, suggestions, or concerns, please feel free to reach out to us at sretenperic3000@gmail.com. We appreciate your feedback and hope you enjoy playing the Pacman Game!

About

This game has made for learning and fun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages