An open API service indexing awesome lists of open source software.

https://github.com/maricard18/pac-man-game

Replica of the Pac-Man Game in C++
https://github.com/maricard18/pac-man-game

cpp cpp11 pac-man pac-man-game pacman pacman-projects raylib raylib-cpp

Last synced: 3 months ago
JSON representation

Replica of the Pac-Man Game in C++

Awesome Lists containing this project

README

        

# **Pac-Man Game**
This project is a replica of the classic Pac-Man Game, originally developed in 1980.

It has been implemented in C++ using the [raylib](https://www.raylib.com/) graphical library.

## 🕹️ **Usage**
To play this game you can use the `make run` command.

This rule will generate a `pac-man` file, which is the zipped version of the game.

You can launch the executable by running the command `./pac-man`

This project currently supports only **Mac** and **Linux** platforms.

## 🎥 **Demo**



## 🧬 **Cloning**

To successfully clone this repository, use this command

```shell
git clone https://github.com/maricard18/pac-man-game.git
```

## About
All the graphical components in this game were created using functions from the raylib library, no images or textures were utilized.
The CPU movement pattern was implemented using a self-made random algorithm system.
The primary movement is always upwards unless it encounters a dead end.
When passing through an intersection or facing a possible new direction, it has a 60% chance of continuing forward and a 40% chance of turning left or right.

## Contributing

Contributions are welcome! Feel free to submit bug reports, feature requests, or pull requests through GitHub.

---
> Feel free to ask me any questions through Slack (**maricard**).

> GitHub [@maricard18](https://github.com/maricard18)  · 
> Linkedin [Mario Henriques](https://www.linkedin.com/in/mario18)  · 
> [42 Porto](https://www.42porto.com/en)