Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 1.56 KB

README.md

File metadata and controls

50 lines (28 loc) · 1.56 KB

2D_Game - PacMan

Welcome!

Installation

To get started, clone this repository to your local machine. You can do this by opening your terminal and running the following command:

Make sure to clone it to your Desktop

git clone https://github.com/adgianv/2D_Game.git

Compilation

  • Navigate to the cloned directory using the terminal.
  • Compile the program by running the following command in your command line.
make re

Running the Game

After successful compilation, you will find an executable icon named PAC-MAN on your Desktop. Double-click this icon to start the game.

Screenshot 2024-04-07 alle 20 57 02

Note: Ensure that the repository remains on your Desktop, or you'll need to adjust the file paths in the code accordingly.

Game Controls

The game plays similarly to traditional Pac-Man with a few modifications:

Use the arrow keys to navigate Pac-Man through the maze.

You win when reaching the portal after collecting all the coins and the fruit in the maze.

Press R to restart the game after losing.

Press ESC to exit the game.

Additional Information

For more details about the game or its development, refer to the code and documentation within this repository.

video_pacman-ezgif com-video-to-gif-converter

Enjoy playing the game! If you encounter any issues or have questions, feel free to reach out.